1
0
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:
Carlos Martín 2015-06-22 18:12:14 +02:00
parent c8cd782220
commit ad373beb0d

View File

@ -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