mediawiki-extensions-Visual.../modules/ve/ui/tools
Trevor Parscal 5a0faf5389 Make drop down tool work with generic toolbars
Objective:

* Remove ve.ui.DropdownTool's dependency on ve.ui.SurfaceToolbar so it
  can be used with any ve.ui.Toolbar

Changes:

ve.ui.DropdownTool.js
* Bind onBlur to document mousedown in capture mode instead of trying to
  add more and more things we are listening to which is a losing battle
* Refactor activate/deactivate mode changes
* Get rid of isEnabled check - surface should disable toolbar, the tools
  shouldn't be checking if the surface is enabled after the fact (also,
  this is harmless and doesn't change any actual interactions)

Change-Id: I738209d17649358c2f9812f9abac576960af867b
2013-08-07 03:27:30 +00:00
..
buttons Split ve.ui.Toolbar and ve.ui.SurfaceToolbar 2013-08-02 14:33:25 -07:00
dropdowns Split ve.ui.Toolbar and ve.ui.SurfaceToolbar 2013-08-02 14:33:25 -07:00
ve.ui.AnnotationButtonTool.js Split ve.ui.Toolbar and ve.ui.SurfaceToolbar 2013-08-02 14:33:25 -07:00
ve.ui.ButtonTool.js Doc: Replace "@property @type {Type}" with "@property {Type}". 2013-03-28 21:21:56 +01:00
ve.ui.DialogButtonTool.js Split ve.ui.Toolbar and ve.ui.SurfaceToolbar 2013-08-02 14:33:25 -07:00
ve.ui.DropdownTool.js Make drop down tool work with generic toolbars 2013-08-07 03:27:30 +00:00
ve.ui.IndentationButtonTool.js Split ve.ui.Toolbar and ve.ui.SurfaceToolbar 2013-08-02 14:33:25 -07:00
ve.ui.InspectorButtonTool.js Split ve.ui.Toolbar and ve.ui.SurfaceToolbar 2013-08-02 14:33:25 -07:00
ve.ui.ListButtonTool.js Split ve.ui.Toolbar and ve.ui.SurfaceToolbar 2013-08-02 14:33:25 -07:00