Bug #4025: Prevent race condition in call to disableAllStateActions

This commit is contained in:
Carlos Martín committed 2015-10-16 18:24:48 +02:00
1 parent f42a8d8693
commit 21e616be59
1 file changed
+4 -1
@@ -126,7 +126,10 @@ define(function(require) {
}
function _preUpdateView() {
StateActions.disableAllStateActions();
var tab = $('#' + TAB_NAME);
if (!Sunstone.rightInfoVisible(tab)){
StateActions.disableAllStateActions();
}
this.totalVms = 0;
this.activeVms = 0;