1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

Revert "Bug #4193: Call isTabEnabled before a refresh action"

This reverts commit ff71ac1a30.
This commit is contained in:
Carlos Martín 2015-11-24 17:36:13 +01:00
parent ff71ac1a30
commit a9ee5ed912

View File

@ -18,7 +18,6 @@ define(function(require) {
var Sunstone = require('sunstone');
var Notifier = require('utils/notifier');
var Locale = require('utils/locale');
var Config = require('sunstone-config');
/*
CONSTRUCTOR
@ -81,7 +80,7 @@ define(function(require) {
var tab = $('#' + that.tabId);
if (Sunstone.rightInfoVisible(tab)) {
Sunstone.runAction(that.resourceStr + ".show", Sunstone.rightInfoResourceId(tab));
} else if (Config.isTabEnabled(that.tabId)) {
} else {
Sunstone.getDataTable(that.tabId).waitingNodes();
Sunstone.runAction(that.resourceStr + ".list", {force: true});
}