r57780 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57779‎ | r57780 | r57781 >
Date:17:47, 15 October 2009
Author:catrope
Status:ok
Tags:
Comment:
wmf-deployment: Merge r57775 (fix for r57706) from trunk
Modified paths:
  • /branches/wmf-deployment/extensions/UsabilityInitiative/EditWarning/EditWarning.js (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/UsabilityInitiative/EditWarning/EditWarning.js
@@ -24,7 +24,7 @@
2525 if(
2626 $j( '#wpTextbox1' ).data( 'origtext' ) != $j( '#wpTextbox1' ).val()
2727 || $j( '#wpSummary' ).data( 'origtext' ) != $j( '#wpSummary' ).val()
28 - || $j( '#wikiPreview' ).size() != 0
 28+ || $j( '#wikiPreview' ).is( ':visible' )
2929 ) {
3030 // Return our message
3131 return gM( 'editwarning-warning' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57706EditWarning: Always pop up warning in preview; warning wouldn't get triggered...catrope16:50, 14 October 2009
r57775Fix up r57706 to not show the warning at absolutely every edit pagecatrope16:41, 15 October 2009

Status & tagging log