projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ff345
)
Roo/tree/TreeSelectionModel.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 3 Nov 2011 08:06:06 +0000
(16:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 3 Nov 2011 08:06:06 +0000
(16:06 +0800)
Roo/tree/TreeSelectionModel.js
patch
|
blob
|
history
diff --git
a/Roo/tree/TreeSelectionModel.js
b/Roo/tree/TreeSelectionModel.js
index
d356791
..
3524fa0
100644
(file)
--- a/
Roo/tree/TreeSelectionModel.js
+++ b/
Roo/tree/TreeSelectionModel.js
@@
-15,9
+15,11
@@
* @extends Roo.util.Observable
* The default single selection for a TreePanel.
*/
-Roo.tree.DefaultSelectionModel = function(){
+Roo.tree.DefaultSelectionModel = function(
cfg
){
this.selNode = null;
+
+
this.addEvents({
/**
* @event selectionchange
@@
-36,6
+38,8
@@
Roo.tree.DefaultSelectionModel = function(){
*/
"beforeselect" : true
});
+
+ Roo.tree.DefaultSelectionModel.superclass.constructor.call(this,cfg);
};
Roo.extend(Roo.tree.DefaultSelectionModel, Roo.util.Observable, {