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 |
||
---|---|---|
.. | ||
actions | ||
dialogs | ||
elements | ||
inspectors | ||
layouts | ||
styles | ||
tools | ||
widgets | ||
ve.ui.Action.js | ||
ve.ui.ActionFactory.js | ||
ve.ui.CommandRegistry.js | ||
ve.ui.Context.js | ||
ve.ui.Dialog.js | ||
ve.ui.DialogFactory.js | ||
ve.ui.Frame.js | ||
ve.ui.Inspector.js | ||
ve.ui.InspectorFactory.js | ||
ve.ui.js | ||
ve.ui.Layout.js | ||
ve.ui.Surface.js | ||
ve.ui.Tool.js | ||
ve.ui.Toolbar.js | ||
ve.ui.ToolFactory.js | ||
ve.ui.Trigger.js | ||
ve.ui.TriggerRegistry.js | ||
ve.ui.ViewRegistry.js | ||
ve.ui.Widget.js | ||
ve.ui.Window.js | ||
ve.ui.WindowSet.js |