Index: branches/MwEmbedStandAlone/modules/Sequencer/actions/mw.SequencerActionsSequence.js |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | // XXX todo we should have an autocomplete on sequence name! |
37 | 37 | |
38 | 38 | var buttons = {}; |
39 | | - buttons[ gM('mwe-cancel') ] = function(){ $j( this ).dialog( 'cancel' ) }; |
| 39 | + buttons[ gM('mwe-cancel') ] = function(){ $j( this ).dialog( 'cancel' ); }; |
40 | 40 | |
41 | 41 | // For now just support server based open .. ideally we could browse for file |
42 | 42 | var $dialog = mw.addDialog({ |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | // Follow the link |
82 | 82 | return true; |
83 | 83 | }) |
84 | | - ) |
| 84 | + ); |
85 | 85 | }, |
86 | 86 | /** |
87 | 87 | * present an open dialog to the user, and open the sequence in a new window |
— | — | @@ -101,7 +101,7 @@ |
102 | 102 | // XXX todo we should have an autocomplete on sequence name! |
103 | 103 | |
104 | 104 | var buttons = {}; |
105 | | - buttons[ gM('mwe-cancel') ] = function(){ $j( this ).dialog( 'cancel' ) }; |
| 105 | + buttons[ gM('mwe-cancel') ] = function(){ $j( this ).dialog( 'cancel' ); }; |
106 | 106 | |
107 | 107 | // For now just support server based open .. ideally we could browse for file |
108 | 108 | var $dialog = mw.addDialog({ |
— | — | @@ -146,7 +146,7 @@ |
147 | 147 | // Follow the link |
148 | 148 | return true; |
149 | 149 | }) |
150 | | - ) |
| 150 | + ); |
151 | 151 | }, |
152 | 152 | save: function(){ |
153 | 153 | var _this = this; |
— | — | @@ -167,7 +167,7 @@ |
168 | 168 | if( !_this.sequencer.getServer().hasLocalChanges() ){ |
169 | 169 | $dialog.html( gM('mwe-sequencer-save-no-changes') ); |
170 | 170 | var closeButton = {}; |
171 | | - closeButton[ gM('mwe-ok') ]= function(){ $j(this).dialog('close') }; |
| 171 | + closeButton[ gM('mwe-ok') ]= function(){ $j(this).dialog('close'); }; |
172 | 172 | $dialog.dialog( "option", "buttons", closeButton); |
173 | 173 | return ; |
174 | 174 | } |
Index: branches/MwEmbedStandAlone/modules/Sequencer/mw.SequencerServer.js |
— | — | @@ -406,7 +406,7 @@ |
407 | 407 | 'action' : 'upload', |
408 | 408 | 'format': 'json', |
409 | 409 | 'filename': _this.getVideoFileName(), |
410 | | - 'comment': 'Published Sequence: ' + saveSummary, |
| 410 | + 'comment': 'Published [[' + _this.getTitleKey() + ']] : ' + saveSummary, |
411 | 411 | 'ignorewarnings' : true |
412 | 412 | } |
413 | 413 | // Return the apiUrl and request |