Resource Editor: Fixed bug on rename of a node.
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1704832 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js b/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js
index bd0a09d..90df484 100644
--- a/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js
+++ b/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js
@@ -70,6 +70,7 @@
"check_callback" : true,
multiple: true,
animation: 600,
+ 'dblclick_toggle': false,
'data' : {
'url' : function (liJson) {
// initial call for the root element
@@ -158,6 +159,7 @@
}).on('keydown.jstree', 'a.jstree-anchor', function (e) {
treeController.configureKeyListeners(e);
}).on('select_node.jstree', function (e, data) {
+ //noop
;
}).on('after_open.jstree', function(e, data){
treeController.afterOpen(data.node);