mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
This reverts commit1bcd3832bd
. This reverts commit9e68ee24d7
.
This commit is contained in:
parent
dba279a963
commit
83256b1bec
@ -406,7 +406,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -405,7 +405,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -398,7 +398,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -406,7 +406,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -405,7 +405,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -398,7 +398,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -404,7 +404,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -405,7 +405,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -398,7 +398,6 @@ tabs:
|
||||
VM.unlock: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
autorefresh_info: 5000 # ms
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
|
@ -130,10 +130,6 @@ define(function(require) {
|
||||
return _config['user_config']["table_order"];
|
||||
},
|
||||
|
||||
"autorefreshInfo": function(tabName) {
|
||||
return _config['view']['tabs'][tabName]['autorefresh_info'] || 10000;
|
||||
},
|
||||
|
||||
"provision": {
|
||||
"dashboard": {
|
||||
"isEnabled": function(widget) {
|
||||
|
@ -1185,11 +1185,7 @@ define(function(require) {
|
||||
};
|
||||
|
||||
var _rightInfoVisible = function(context) {
|
||||
return $(".sunstone-info", context).is(":visible")
|
||||
};
|
||||
|
||||
var _infoTabVisible = function(context, tab) {
|
||||
return $(tab, $(".sunstone-info", context)).is(":visible")
|
||||
return $(".sunstone-info", context).is(":visible");
|
||||
};
|
||||
|
||||
var _rightListVisible = function(context) {
|
||||
@ -1289,7 +1285,6 @@ define(function(require) {
|
||||
|
||||
|
||||
"rightInfoVisible": _rightInfoVisible,
|
||||
"infoTabVisible": _infoTabVisible,
|
||||
"rightListVisible": _rightListVisible,
|
||||
"rightInfoResourceId": _rightInfoResourceId,
|
||||
|
||||
|
@ -122,7 +122,6 @@ define(function(require) {
|
||||
$(context).off("click", "#import_vcenter_images");
|
||||
$(context).on("click", "#import_vcenter_images", function(){
|
||||
that.vCenterImages.import(context);
|
||||
$("#images-tabrefresh_buttons button").click();
|
||||
return false;
|
||||
});
|
||||
|
||||
|
@ -116,7 +116,6 @@ define(function(require) {
|
||||
$(context).off("click", "#import_vcenter_templates");
|
||||
$(context).on("click", "#import_vcenter_templates", function(){
|
||||
that.vCenterTemplates.import(context);
|
||||
$("#templates-tabrefresh_buttons button").click();
|
||||
return false;
|
||||
});
|
||||
|
||||
|
@ -27,8 +27,8 @@ define(function(require) {
|
||||
var TemplateTableVcenter = require("utils/panel/template-table");
|
||||
var OpenNebula = require("opennebula");
|
||||
var Sunstone = require("sunstone");
|
||||
var Navigation = require("utils/navigation");
|
||||
var Config = require("sunstone-config");
|
||||
var Navigation = require("utils/navigation");
|
||||
|
||||
/*
|
||||
TEMPLATES
|
||||
@ -45,13 +45,6 @@ define(function(require) {
|
||||
var RESOURCE = "VM";
|
||||
var XML_ROOT = "VM";
|
||||
|
||||
setInterval(function() {
|
||||
var tab = $('#' + TAB_ID);
|
||||
if (Sunstone.infoTabVisible(tab, "#vm_info_tab")){
|
||||
$("#vms-tabrefresh_buttons button").click();
|
||||
}
|
||||
}, Config.autorefreshInfo("vms-tab"));
|
||||
|
||||
/*
|
||||
CONSTRUCTOR
|
||||
*/
|
||||
@ -174,6 +167,5 @@ define(function(require) {
|
||||
|
||||
TemplateTable.setup(strippedTemplate, RESOURCE, this.element.ID, context, unshownValues, strippedTemplateVcenter);
|
||||
TemplateTableVcenter.setup(strippedTemplateVcenter, RESOURCE, this.element.ID, context, unshownValues, strippedTemplate);
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -115,7 +115,6 @@ define(function(require) {
|
||||
$(context).off("click", "#import_vcenter_networks");
|
||||
$(context).on("click", "#import_vcenter_networks", function(){
|
||||
that.vCenterNetworks.import(context);
|
||||
$("#vnets-tabrefresh_buttons button").click();
|
||||
return false;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user