You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by sb...@apache.org on 2015/04/01 18:24:52 UTC

svn commit: r1670717 - /sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js

Author: sboehme
Date: Wed Apr  1 16:24:51 2015
New Revision: 1670717

URL: http://svn.apache.org/r1670717
Log:
fixed SLING-4561 Resource Editor: avoid the submission of a node name in edit mode when the mouse hovers an other node

Modified:
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js

Modified: sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js?rev=1670717&r1=1670716&r2=1670717&view=diff
==============================================================================
--- sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js (original)
+++ sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js Wed Apr  1 16:24:51 2015
@@ -162,7 +162,7 @@ $(document).ready(function() {
       		  }
       	});
     }).on('hover_node.jstree', function (event, nodeObj) {
-        $('#'+nodeObj.node.id+' a:first').focus();
+        //noop
     }).on('keydown.jstree', 'a.jstree-anchor', function (e) {
     	treeController.configureKeyListeners(e);
     }).on('select_node.jstree', function (e, data) {