1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

B #5176: Fix updateconf in cloud view (#1737)

(cherry picked from commit 9e73cd5cbbff8854ca2f3a7b1f828cfefd9de5e8)
This commit is contained in:
Frederick Borges 2022-02-01 18:41:30 +01:00 committed by Tino Vazquez
parent f1cf6dfb61
commit 55c353101c
No known key found for this signature in database
GPG Key ID: 14201E424D02047E
3 changed files with 4 additions and 6 deletions

View File

@ -61,9 +61,10 @@ define(function(require) {
Menu.insertProvision();
}else{
Menu.insert();
Sunstone.setupNavigoRoutes();
}
Sunstone.setupNavigoRoutes();
_setupAccordion();
_setupCloseDropdownsOnClick();
_insertUserAndZoneSelector();

View File

@ -50,7 +50,6 @@ define(function(require) {
call: OpenNebula.Template.instantiate,
callback: function(){
ProvisionVms.clearVMCreate();
$(".provision_vms_list_button").click();
},
error: Notifier.onError
},
@ -59,7 +58,6 @@ define(function(require) {
call: OpenNebula.Template.instantiate_persistent,
callback: function(){
ProvisionVms.clearVMCreate();
$(".provision_vms_list_button").click();
},
error: Notifier.onError
}

View File

@ -22,7 +22,6 @@ define(function(require) {
var BaseFormPanel = require("utils/form-panels/form-panel");
var Sunstone = require("sunstone");
var Locale = require("utils/locale");
var Tips = require("utils/tips");
var TemplateUtils = require("utils/template-utils");
/*
@ -81,11 +80,11 @@ define(function(require) {
FormPanel.prototype = Object.create(BaseFormPanel.prototype);
FormPanel.prototype.constructor = FormPanel;
FormPanel.prototype.htmlWizard = _htmlWizard;
FormPanel.prototype.htmlAdvanced = _htmlAdvanced;
FormPanel.prototype.htmlAdvanced = config.user_config.default_view === 'cloud' ? undefined : _htmlAdvanced;
FormPanel.prototype.setup = _setup;
FormPanel.prototype.onShow = _onShow;
FormPanel.prototype.submitWizard = _submitWizard;
FormPanel.prototype.submitAdvanced = _submitAdvanced;
FormPanel.prototype.submitAdvanced = config.user_config.default_view === 'cloud' ? undefined : _submitAdvanced;
FormPanel.prototype.fill = _fill;
return FormPanel;