mediawiki-extensions-Visual.../modules/ve/ce
Timo Tijhof 9b99962215 ce.BranchNode: Insert slugs based on CE children length, not DM
Due to Firefox' Ctrl-A creating an outer selection (0,len) as
opposed to inner select like in Chrome (1,len-1), deleting leaves
the document completely empty (with no cursor anywhere in the
document).

However, setupSlugs() wasn't inserting a slug because the internal
list still existed (so this.model.length !== 0).

Using this.$.children().length instead.

Bug: 50947
Change-Id: I1517ebcc5b31e2544559b851174482b0c872b24b
2013-09-29 10:12:22 -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 Continue links 2013-07-16 00:29:55 +00:00
ve.ce.BranchNode.js ce.BranchNode: Insert slugs based on CE children length, not DM 2013-09-29 10:12:22 -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 'Config' -> 'Configuration' in all comments 2013-09-25 11:23:16 +01: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