r56327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56326‎ | r56327 | r56328 >
Date:19:39, 14 September 2009
Author:catrope
Status:ok
Tags:
Comment:
EditToolbar: Fix JS error
Modified paths:
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js (modified) (history)
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js
@@ -890,7 +890,7 @@
891891 },
892892 cancel: function() {
893893 var request = $j(this).data( 'request' );
894 - if ( request.abort )
 894+ if ( request )
895895 request.abort();
896896 }
897897 });
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php
@@ -19,7 +19,7 @@
2020 /* Configuration */
2121
2222 // Bump the version number every time you change any of the .css/.js files
23 -$wgEditToolbarStyleVersion = 30;
 23+$wgEditToolbarStyleVersion = 31;
2424
2525 // Set this to true to simply override the stock toolbar for everyone
2626 $wgEditToolbarGlobalEnable = false;

Status & tagging log