mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
ve.ui.MWCategoryPopupWidget: Clear state after closing the popup
After removing a category, it would forever stay in the "removing" mode. Bug: T208346 Change-Id: I8e8c00e16ea8d03cef5872d969e80e9dfaa84035
This commit is contained in:
parent
afb49f7f1f
commit
52e54864b5
|
@ -165,6 +165,8 @@ ve.ui.MWCategoryPopupWidget.prototype.closePopup = function () {
|
||||||
this.toggle( false );
|
this.toggle( false );
|
||||||
this.popupOpen = false;
|
this.popupOpen = false;
|
||||||
this.category = null;
|
this.category = null;
|
||||||
|
this.origSortkey = null;
|
||||||
|
this.removed = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue