r108040 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108039‎ | r108040 | r108041 >
Date:15:29, 4 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
legacy globals buu
Modified paths:
  • /trunk/extensions/Vector/modules/ext.vector.editWarning.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Vector/modules/ext.vector.editWarning.js
@@ -30,7 +30,7 @@
3131 // Check if the current values of some form elements are the same as
3232 // the original values
3333 if (
34 - wgAction == 'submit' ||
 34+ mw.config.get( 'wgAction' ) == 'submit' ||
3535 $( '#wpTextbox1' ).data( 'origtext' ) != $( '#wpTextbox1' ).val() ||
3636 $( '#wpSummary' ).data( 'origtext' ) != $( '#wpSummary' ).val()
3737 ) {

Status & tagging log