http://www.mediawiki.org/wiki/Special:Code/MediaWiki/57018
Revision: 57018 Author: siebrand Date: 2009-09-28 17:30:01 +0000 (Mon, 28 Sep 2009) Log Message: ----------- Fixes for IE per CR (http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56032#c4178) and a few more in the same area. Modified Paths: -------------- trunk/phase3/js2/ajaxcategories.js Modified: trunk/phase3/js2/ajaxcategories.js =================================================================== --- trunk/phase3/js2/ajaxcategories.js 2009-09-28 16:01:43 UTC (rev 57017) +++ trunk/phase3/js2/ajaxcategories.js 2009-09-28 17:30:01 UTC (rev 57018) @@ -27,8 +27,8 @@ 'cancel': function() { var req = ajaxCategories.request; if (req.abort) - req.abort() - }, + req.abort(); + } } ); $j('#mw-addcategory-input').suggestions(); @@ -131,7 +131,7 @@ var dialogOptions = { 'AutoOpen' : true, 'buttons' : buttons, - 'width' : 450, + 'width' : 450 }; $j('#catlinks').prepend(dialog); @@ -148,7 +148,7 @@ 'intoken':'edit', 'titles':page, 'rvprop':'content|timestamp', - 'format':'json', + 'format':'json' }; $j.get(wgScriptPath+'/api.php', getTokenVars, @@ -172,7 +172,7 @@ 'summary':summary, 'token':token, 'basetimestamp':timestamp, - 'format':'json', + 'format':'json' }; $j.post( wgScriptPath+'/api.php', postEditVars, doneFn, 'json' ); @@ -266,11 +266,13 @@ $j('#bodyContent').append(dialog); var buttons = {}; - buttons[gM('ajax-error-dismiss')] = function(e) { dialog.dialog('close'); }; + buttons[gM('ajax-error-dismiss')] = function(e) { + dialog.dialog('close'); + }; var dialogOptions = { 'buttons' : buttons, 'AutoOpen' : true, - 'title' : gM('ajax-error-title'), + 'title' : gM('ajax-error-title') }; dialog.dialog(dialogOptions); @@ -318,7 +320,7 @@ } ); clElement.append(promptContainer); - }, + } }; js2AddOnloadHook( ajaxCategories.setupAJAXCategories ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs