/*!
- * Ext JS Library 3.0.0
+ * Ext JS Library 3.0.3
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
enableDD : false,\r
hlDrop : Ext.enableFx,\r
pathSeparator: "/",\r
+ \r
+ /**\r
+ * @cfg {Array} bubbleEvents\r
+ * <p>An array of events that, when fired, should be bubbled to any parent container.\r
+ * Defaults to <tt>['add', 'remove']</tt>.\r
+ */\r
+ bubbleEvents: [],\r
\r
initComponent : function(){\r
Ext.tree.TreePanel.superclass.initComponent.call(this);\r
*/\r
"checkchange",\r
/**\r
+ * @event beforedblclick\r
+ * Fires before double click processing on a node. Return false to cancel the default action.\r
+ * @param {Node} node The node\r
+ * @param {Ext.EventObject} e The event object\r
+ */\r
+ "beforedblclick",\r
+ /**\r
* @event dblclick\r
* Fires when a node is double clicked\r
* @param {Node} node The node\r
*/\r
selectPath : function(path, attr, callback){\r
attr = attr || "id";\r
- var keys = path.split(this.pathSeparator);\r
- var v = keys.pop();\r
- if(keys.length > 0){\r
+ var keys = path.split(this.pathSeparator),\r
+ v = keys.pop();\r
+ if(keys.length > 1){\r
var f = function(success, node){\r
if(success && node){\r
var n = node.findChild(attr, v);\r