mediawiki-extensions-Visual.../modules/ve/ce
Roan Kattouw 087fd6c348 Followup 5592ea26: bind native focus/blur events instead of jQuery events
In jQuery 1.8, if you focus something using jQuery, the jQuery focus
event fires before the jQuery blur event, which is wrong. If you focus
something natively, the events do fire in the correct order.
See http://jsfiddle.net/WGy9h/4/ .

Fortunately, the native events always fire in the correct order, so
listen to those instead. Normally, we're not concerned with the order,
but in ce.Surface we bind the same focus/blur handlers to a pair of two
nodes, and then if the focus moves from one to the other, we'll get
confused by the events being emitted in the wrong order.

Change-Id: Ia585b42b6deb74ba55a2d55ce1922b1e04d85e81
2013-10-02 17:59:51 -07:00
..
annotations 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00
nodes Fix timing of rerender event in GC nodes 2013-09-26 21:39:39 +01:00
styles Add opacity-setting class to GC nodes when generating 2013-09-23 13:57:56 +01:00
ve.ce.Annotation.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00
ve.ce.AnnotationFactory.js
ve.ce.BranchNode.js Follow-up to 9b999622: don't slug paragraphs that contain just a text node 2013-09-30 09:33:59 -07:00
ve.ce.ContentBranchNode.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00
ve.ce.Document.js
ve.ce.DomRange.js doc: @return -> @returns 2013-08-01 02:10:23 +02:00
ve.ce.FocusableNode.js Allow phantoms and focus areas to be overridden 2013-08-30 14:04:17 -07:00
ve.ce.js Add basic ve.ce.tests and fix documentation 2013-09-23 16:33:15 +01:00
ve.ce.LeafNode.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00
ve.ce.Node.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00
ve.ce.NodeFactory.js
ve.ce.ProtectedNode.js Apply DOM changes in onProtectedSetup and onProtectedTeardown instead of constructor 2013-09-05 22:05:23 +00:00
ve.ce.RelocatableNode.js Revert drag marker GIF to previous version 2013-09-18 19:39:33 +00:00
ve.ce.ResizableNode.js Various context menu display issues 2013-09-25 21:54:59 +01:00
ve.ce.Surface.js Followup 5592ea26: bind native focus/blur events instead of jQuery events 2013-10-02 17:59:51 -07:00
ve.ce.SurfaceObserver.js Fix pawn on pre-annotation and keypress 2013-09-11 19:47:39 -07:00
ve.ce.View.js 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01:00