Index: trunk/extensions/UsabilityInitiative/EditWarning/EditWarning.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | /* Configuration */ |
21 | 21 | |
22 | 22 | // Bump the version number every time you change any of the .css/.js files |
23 | | -$wgEditWarningStyleVersion = 3; |
| 23 | +$wgEditWarningStyleVersion = 4; |
24 | 24 | |
25 | 25 | /* Setup */ |
26 | 26 | |
Index: trunk/extensions/UsabilityInitiative/EditWarning/EditWarning.js |
— | — | @@ -24,6 +24,7 @@ |
25 | 25 | if( |
26 | 26 | $j( '#wpTextbox1' ).data( 'origtext' ) != $j( '#wpTextbox1' ).val() |
27 | 27 | || $j( '#wpSummary' ).data( 'origtext' ) != $j( '#wpSummary' ).val() |
| 28 | + || $j( '#wikiPreview' ).size() != 0 |
28 | 29 | ) { |
29 | 30 | // Return our message |
30 | 31 | return gM( 'editwarning-warning' ); |