(bug 42801) Fixed by re-adding calls to disableRendering() (used to be lock()) and enableRendering() (used to be unlock()) - deleted accidentally in commit: 9c74c97808

Change-Id: Ia91a572c94cc3e9a81148b1484fc567941fa7c3e
This commit is contained in:
Inez Korczyński 2012-12-06 17:43:00 -08:00
parent 0cf34e02a4
commit 6abd1c950c

View file

@ -288,7 +288,9 @@ ve.ce.Surface.prototype.onContentChange = function ( node, previous, next ) {
* @method
*/
ve.ce.Surface.prototype.onSelectionChange = function ( oldRange, newRange ) {
this.disableRendering();
this.model.change( null, newRange );
this.enableRendering();
};
/**