From 81a96915c44d3149d9816a75d06e0fab653d5b7c Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 9 Feb 2009 17:18:18 -0800 Subject: [PATCH] Now also highlighting/focusing the editor even if the drag is canceled. --- static/js/Editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/Editor.js b/static/js/Editor.js index 9c72f61..0432eaa 100644 --- a/static/js/Editor.js +++ b/static/js/Editor.js @@ -859,6 +859,7 @@ Editor.prototype.drop = function( event ) { var drag_source_area = getElement( "note_drag_source_area" ); setElementPosition( this.holder, getElementPosition( drag_source_area ) ); removeElement( drag_source_area ); + this.highlight(); } }