mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
3a99b99876
Objective: * Context popup would stop opening sometimes "mysteriously" which ended up having to do with the automatic closing on blur functionality added to popups for use in the category popup widget * Mousedown event canceling was being applied a little too widely, and was causing popup widgets to not allow child elements to be focused (unless they contained an iframe, like an inspector) Changes: ve.ui.Context.js * Make use of the popup's show and hide methods within the inspector ve.ui.MWCategoryPopupWidget.js * Override autoClose option for category popup widgets ve.ui.PopupWidget.js * Add autoClose option to popup widgets * Move event handler to the top of the methods (convention) * Only bind blur event if autoClose is enabled * Inline the getFocusedChild method Change-Id: I22aedb5fbd51b327ea7ce2ecdd6123e79cbebb9c |
||
---|---|---|
.. | ||
ve.ui.ButtonWidget.js | ||
ve.ui.IconButtonWidget.js | ||
ve.ui.InputLabelWidget.js | ||
ve.ui.InputWidget.js | ||
ve.ui.LinkTargetInputWidget.js | ||
ve.ui.LookupInputWidget.js | ||
ve.ui.MenuItemWidget.js | ||
ve.ui.MenuSectionItemWidget.js | ||
ve.ui.MenuWidget.js | ||
ve.ui.MWCategoryInputWidget.js | ||
ve.ui.MWCategoryItemWidget.js | ||
ve.ui.MWCategoryPopupWidget.js | ||
ve.ui.MWCategoryWidget.js | ||
ve.ui.MWLinkTargetInputWidget.js | ||
ve.ui.OptionWidget.js | ||
ve.ui.OutlineItemWidget.js | ||
ve.ui.OutlineWidget.js | ||
ve.ui.PendingInputWidget.js | ||
ve.ui.PopupWidget.js | ||
ve.ui.SelectWidget.js | ||
ve.ui.TextInputMenuWidget.js | ||
ve.ui.TextInputWidget.js |