Index: branches/js2-work/phase3/js/mwEmbed/modules/TimedText/mw.TimedTextEdit.js |
— | — | @@ -426,9 +426,10 @@ |
427 | 427 | |
428 | 428 | // Build cancel button |
429 | 429 | var cancelButton = {}; |
430 | | - cancelButton[ gM( 'mwe-cancel' ) ] = function() { |
| 430 | + var cancelText = gM( 'mwe-cancel' ); |
| 431 | + cancelButton[ cancelText ] = function() { |
431 | 432 | _this.onCancelClipEdit(); |
432 | | - } |
| 433 | + }; |
433 | 434 | |
434 | 435 | $j( _this.target_container ).dialog( { |
435 | 436 | bgiframe: true, |
Index: branches/js2-work/phase3/js/mwEmbed/remotes/mediaWiki.js |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | */ |
6 | 6 | var urlparts = getRemoteEmbedPath(); |
7 | 7 | var mwEmbedHostPath = urlparts[0]; |
8 | | -var mwRemoteVersion = 'r93'; |
| 8 | +var mwRemoteVersion = 'r94'; |
9 | 9 | var mwUseScriptLoader = true; |
10 | 10 | |
11 | 11 | // Log the mwRemote version ( will determine what version of js we get ) |