diff --git a/src/sunstone/public/app/tabs/hosts-tab/actions.js b/src/sunstone/public/app/tabs/hosts-tab/actions.js index 3d9802d5a8..8c86f25a92 100644 --- a/src/sunstone/public/app/tabs/hosts-tab/actions.js +++ b/src/sunstone/public/app/tabs/hosts-tab/actions.js @@ -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