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/09/23 14:32:42 UTC

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

Author: sboehme
Date: Wed Sep 23 12:32:42 2015
New Revision: 1704832

URL: http://svn.apache.org/viewvc?rev=1704832&view=rev
Log:
Resource Editor: Fixed bug on rename of a 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=1704832&r1=1704831&r2=1704832&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 Sep 23 12:32:42 2015
@@ -70,6 +70,7 @@ $(document).ready(function() {
 		    "check_callback" : true,
 		    multiple: true,
 			animation: 600,
+			'dblclick_toggle': false,
 			'data' : {
 				'url' : function (liJson) {
 					// initial call for the root element
@@ -158,6 +159,7 @@ $(document).ready(function() {
     }).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);