Index: trunk/extensions/Vector/modules/ext.vector.editWarning.js |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | // Check if the current values of some form elements are the same as |
32 | 32 | // the original values |
33 | 33 | if ( |
34 | | - wgAction == 'submit' || |
| 34 | + mw.config.get( 'wgAction' ) == 'submit' || |
35 | 35 | $( '#wpTextbox1' ).data( 'origtext' ) != $( '#wpTextbox1' ).val() || |
36 | 36 | $( '#wpSummary' ).data( 'origtext' ) != $( '#wpSummary' ).val() |
37 | 37 | ) { |