1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

Bug #4025: Prevent race condition in call to disableAllStateActions

This commit is contained in:
Carlos Martín 2015-10-16 18:24:48 +02:00
parent f42a8d8693
commit 21e616be59

View File

@ -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;