projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f16ac
)
Roo/View.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 2 Sep 2011 05:34:16 +0000
(13:34 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 2 Sep 2011 05:34:16 +0000
(13:34 +0800)
Roo/View.js
patch
|
blob
|
history
diff --git
a/Roo/View.js
b/Roo/View.js
index
359fdcf
..
95e8bf5
100644
(file)
--- a/
Roo/View.js
+++ b/
Roo/View.js
@@
-477,9
+477,17
@@
Roo.extend(Roo.View, Roo.util.Observable, {
if(!node || !this.isSelected(node)){
return; // not selected.
}
+ // fireevent???
+ var ns = [];
+ Roo.each(this.selections, function(s) {
+ if (s === node ) {
+ return;
+ }
+ ns.push(s);
+ }
-
-
+ this.selections= ns;
+ this.fireEvent("selectionchange", this, this.selections);
}
/**