mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-26 10:03:37 +03:00
(cherry picked from commit 9e73cd5cbbff8854ca2f3a7b1f828cfefd9de5e8)
This commit is contained in:
parent
f1cf6dfb61
commit
55c353101c
@ -61,9 +61,10 @@ define(function(require) {
|
||||
Menu.insertProvision();
|
||||
}else{
|
||||
Menu.insert();
|
||||
Sunstone.setupNavigoRoutes();
|
||||
}
|
||||
|
||||
Sunstone.setupNavigoRoutes();
|
||||
|
||||
_setupAccordion();
|
||||
_setupCloseDropdownsOnClick();
|
||||
_insertUserAndZoneSelector();
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user