Revision 2c9bfad1 ui/static/snf/js/ui/web/ui_icon_view.js
b/ui/static/snf/js/ui/web/ui_icon_view.js | ||
---|---|---|
108 | 108 |
|
109 | 109 |
if (this.toggler.hasClass("open")) { |
110 | 110 |
this.toggler.removeClass("open"); |
111 |
this.vm.do_update_stats = false;
|
|
111 |
this.vm.stop_stats_update();
|
|
112 | 112 |
} else { |
113 | 113 |
this.toggler.addClass("open"); |
114 |
this.vm.do_update_stats = true; |
|
115 | 114 |
this.view.details_views[this.vm.id].update_layout(); |
116 | 115 |
this.view.tags_views[this.vm.id].update_layout(); |
117 | 116 |
this.view.stats_views[this.vm.id].update_layout(); |
... | ... | |
562 | 561 |
|
563 | 562 |
this.parent.tags_views[this.vm.id].update_layout(); |
564 | 563 |
this.parent.stats_views[this.vm.id].update_layout(); |
564 |
|
|
565 |
if (this.parent.details_hidden) { |
|
566 |
this.vm.start_stats_update(); |
|
567 |
} |
|
565 | 568 |
} |
566 | 569 |
}); |
567 | 570 |
|
Also available in: Unified diff