mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Feature #3748: Fix host form panel callback
This commit is contained in:
parent
c8cd782220
commit
ad373beb0d
@ -16,11 +16,11 @@ define(function(require) {
|
||||
call : OpenNebulaHost.create,
|
||||
callback : function(request, response) {
|
||||
Sunstone.resetFormPanel(TAB_ID, CREATE_DIALOG_ID);
|
||||
Sunstone.hideFormPanel($("#" + TAB_ID));
|
||||
Sunstone.hideFormPanel(TAB_ID);
|
||||
Sunstone.getDataTable(TAB_ID).addElement(request, response);
|
||||
},
|
||||
error: function(request, response) {
|
||||
Sunstone.hideFormPanelLoading($("#" + TAB_ID));
|
||||
Sunstone.hideFormPanelLoading(TAB_ID);
|
||||
Notifier.onError(request, response);
|
||||
},
|
||||
notify: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user