mediawiki-extensions-Visual.../modules/ve-mw/ui/widgets
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
..
ve.ui.MWCategoryInputWidget.js Use LinkCache instead of an object in MWCategoryWidget to store hidden status (to be shared with the input widget) 2014-09-23 23:56:27 +01:00
ve.ui.MWCategoryItemWidget.js Update VE core submodule to master (1f82a47) 2014-09-03 17:20:09 -07:00
ve.ui.MWCategoryPopupWidget.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.ui.MWCategoryWidget.js Account for categories being removed twice in MWCategoryWidget 2014-09-30 11:11:09 -07:00
ve.ui.MWLinkTargetInputWidget.js Update VE core submodule to master (6e68242) 2014-09-24 12:18:16 -07:00
ve.ui.MWMediaResultWidget.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.ui.MWMediaSearchWidget.js Abort promises before sending new ones in MediaSearchWidget 2014-09-05 18:51:30 -04:00
ve.ui.MWMoreParametersResultWidget.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.ui.MWNoParametersResultWidget.js Limit the number of initially visible parameters in the parameter search widget 2014-04-09 12:56:02 -07:00
ve.ui.MWParameterResultWidget.js Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
ve.ui.MWParameterSearchWidget.js Template dialog: Show up to the limit of parameters, not up to the limit + 1 2014-09-15 12:13:47 -07:00
ve.ui.MWReferenceGroupInputWidget.js Use combo box widget to suggest existing values for reference group 2014-08-30 02:33:04 +01:00
ve.ui.MWReferenceResultWidget.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.ui.MWReferenceSearchWidget.js Properly mark reference search index as empty when setting internal list 2014-09-10 00:13:42 +01:00
ve.ui.MWTitleInputWidget.js Use mw.Title#getRelativeText to deal with titles relative to specific namespaces 2014-09-26 02:47:18 +00:00
ve.ui.MWTocItemWidget.js Update VE core submodule to master (1f82a47) 2014-09-03 17:20:09 -07:00
ve.ui.MWTocWidget.js Update VE core submodule to master (8d5ec7a) 2014-09-24 11:34:14 -07:00