@@ -26,36 +26,36 @@ session.on('streamCreated', function(event) {
2626
2727session . on ( 'archiveStarted' , function ( event ) {
2828 archiveID = event . id ;
29- console . log ( " ARCHIVE STARTED" ) ;
30- $ ( " .start" ) . hide ( ) ;
31- $ ( " .stop" ) . show ( ) ;
29+ console . log ( ' ARCHIVE STARTED' ) ;
30+ $ ( ' .start' ) . hide ( ) ;
31+ $ ( ' .stop' ) . show ( ) ;
3232 disableForm ( ) ;
3333} ) ;
3434
3535session . on ( 'archiveStopped' , function ( event ) {
3636 archiveID = null ;
37- console . log ( " ARCHIVE STOPPED" ) ;
38- $ ( " .start" ) . show ( ) ;
39- $ ( " .stop" ) . hide ( ) ;
37+ console . log ( ' ARCHIVE STOPPED' ) ;
38+ $ ( ' .start' ) . show ( ) ;
39+ $ ( ' .stop' ) . hide ( ) ;
4040 enableForm ( ) ;
4141} ) ;
4242
4343$ ( document ) . ready ( function ( ) {
44- $ ( " .start" ) . click ( function ( event ) {
45- var options = $ ( " .archive-options" ) . serialize ( ) ;
44+ $ ( ' .start' ) . click ( function ( event ) {
45+ var options = $ ( ' .archive-options' ) . serialize ( ) ;
4646 disableForm ( ) ;
47- $ . post ( " /start" , options ) . fail ( enableForm ) ;
47+ $ . post ( ' /start' , options ) . fail ( enableForm ) ;
4848 } ) . show ( ) ;
49- $ ( " .stop" ) . click ( function ( event ) {
50- $ . get ( " stop/" + archiveID ) ;
49+ $ ( ' .stop' ) . click ( function ( event ) {
50+ $ . get ( ' stop/' + archiveID ) ;
5151 } ) . hide ( ) ;
5252} ) ;
5353
5454
5555function disableForm ( ) {
56- $ ( " .archive-options-fields" ) . attr ( 'disabled' , 'disabled' ) ;
56+ $ ( ' .archive-options-fields' ) . attr ( 'disabled' , 'disabled' ) ;
5757}
5858
5959function enableForm ( ) {
60- $ ( " .archive-options-fields" ) . removeAttr ( 'disabled' ) ;
61- }
60+ $ ( ' .archive-options-fields' ) . removeAttr ( 'disabled' ) ;
61+ }
0 commit comments