r102913 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102912‎ | r102913 | r102914 >
Date:21:55, 13 November 2011
Author:krinkle
Status:ok
Tags:
Comment:
[RL2] Add missing function argument to startGadgetManager
- Fixes bug where opening the editor would show the wrong form in some cases (not when opened through the Modify link)
Modified paths:
  • /branches/RL2/extensions/Gadgets/modules/ext.gadgets.gadgetmanager.js (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/modules/ext.gadgets.gadgetmanager.js
@@ -177,7 +177,7 @@
178178 id = $( this ).data( 'gadget-id' );
179179
180180 if ( ga.conf.userIsAllowed['gadgets-definition-edit'] ) {
181 - ga.ui.startGadgetManager( id );
 181+ ga.ui.startGadgetManager( 'modify', id );
182182 return;
183183 }
184184 // Use localized special page name if possible to avoid redirect

Status & tagging log