http://www.mediawiki.org/wiki/Special:Code/MediaWiki/61892
Revision: 61892 Author: catrope Date: 2010-02-02 22:11:45 +0000 (Tue, 02 Feb 2010) Log Message: ----------- Fix for r61877 Modified Paths: -------------- trunk/extensions/UsabilityInitiative/Vector/Modules/EditWarning/EditWarning.js Modified: trunk/extensions/UsabilityInitiative/Vector/Modules/EditWarning/EditWarning.js =================================================================== --- trunk/extensions/UsabilityInitiative/Vector/Modules/EditWarning/EditWarning.js 2010-02-02 22:08:00 UTC (rev 61891) +++ trunk/extensions/UsabilityInitiative/Vector/Modules/EditWarning/EditWarning.js 2010-02-02 22:11:45 UTC (rev 61892) @@ -19,7 +19,7 @@ fallbackResult = fallbackWindowOnBeforeUnload(); } // Check if their onbeforeunload hook returned something - if ( fallbackResult !== null ) { + if ( fallbackResult !== undefined ) { // Exit here, returning their message return fallbackResult; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs