mediawiki-extensions-Visual.../modules/ve-mw/ui
Roan Kattouw ff587f4f61 Account for categories being removed twice in MWCategoryWidget
Now that we use staging in the meta dialog, the following
sequence is possible:
* Add Category:Foo in UI (adds to DM and adds a widget)
* Remove Category:Foo in UI (removes from DM, removes widget)
* Click Cancel to leave meta dialog
** popStaging()
*** Undo removal of Foo (adds to DM, does not add a widget)
*** Undo addition of Foo (removes from DM, tries to remove nonexistent widget)

Add a check so trying to remove an already-removed widget
doesn't cause a JS error.

Bug: 71471
Change-Id: I34690364ce302b858e2a4429dbb97b57d39aae5f
2014-09-30 11:11:09 -07:00
..
dialogs Merge "Get confirmation when trying to insert/edit template/citation with required parameters missing" 2014-09-17 19:33:48 +00:00
inspectors ve.ui.MWLiveExtensionInspector: Fix comment typo 2014-09-23 23:54:33 +02:00
pages Use mw.Title#getRelativeText to deal with titles relative to specific namespaces 2014-09-26 02:47:18 +00:00
styles Update VE core submodule to master (1f82a47) 2014-09-03 17:20:09 -07:00
themes Update VE core submodule to master (be42edf) 2014-08-28 13:51:10 -07:00
tools Check whether there is a range selected when enabling/disabling re-use citation tool 2014-09-16 00:18:23 +01:00
widgets Account for categories being removed twice in MWCategoryWidget 2014-09-30 11:11:09 -07:00
ve.ui.MWCommandRegistry.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00