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
ve.ui.MWCategoryPopupWidget.js
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
ve.ui.MWMediaSearchWidget.js Abort promises before sending new ones in MediaSearchWidget 2014-09-05 18:51:30 -04:00
ve.ui.MWMoreParametersResultWidget.js
ve.ui.MWNoParametersResultWidget.js
ve.ui.MWParameterResultWidget.js
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
ve.ui.MWReferenceResultWidget.js
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
ve.ui.MWTocWidget.js Update VE core submodule to master (8d5ec7a) 2014-09-24 11:34:14 -07:00