SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
726 B

/*
Copyright (c) 2007 Memtext
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("memtext.widget.TreeSelectorSx");
dojo.require("dojo.widget.TreeSelectorV3");
dojo.widget.defineWidget("memtext.widget.TreeSelectorSx", [dojo.widget.TreeSelectorV3], function () {
}
,
{listenTreeEvents:["afterTreeCreate", "afterCollapse", "afterChangeTree", "afterDetach", "beforeTreeDestroy"]
, selectedNode:function () {
var result=null;
if (this.selectedNodes.length&&this.selectedNodes.length>0) {
result=this.selectedNodes[0];
}
return result;
}
});