Test for expander before updating it on selection changed
issue10367
This commit is contained in:
1 parent
50582a34b3
commit
c0bf408175
1 file changed
+6
-4
+6
-4
@@ -1709,10 +1709,12 @@
|
||||
this.set_selection(is_selected);
|
||||
if (is_selected) {
|
||||
this.tree.select_changed(this.record);
|
||||
if (this.is_expanded()) {
|
||||
this.tree.update_expander('less');
|
||||
} else if (this.expander.css('visibility') == 'visible') {
|
||||
this.tree.update_expander('more');
|
||||
if (this.expander) {
|
||||
if (this.is_expanded()) {
|
||||
this.tree.update_expander('less');
|
||||
} else if (this.expander.css('visibility') == 'visible') {
|
||||
this.tree.update_expander('more');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.tree.select_changed(
|
||||
|
||||
Reference in new issue
Block a user