1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Call onShow event for formPanels after hiding the loading div

This commit is contained in:
Daniel Molina 2015-07-14 15:59:24 +02:00
parent 3f653edcf2
commit f2fc470a6b

View File

@ -757,12 +757,12 @@ define(function(require) {
$(".reset_button", context).hide();
}
_hideFormPanelLoading(tabId);
formPanelInstance.onShow(formContext);
if (onShow2) {
onShow2(formPanelInstance, formContext);
}
_hideFormPanelLoading(tabId);
}, 13)
}
@ -799,10 +799,13 @@ define(function(require) {
formPanelId = formPanelInstance.formPanelId;
formPanelInstance.reset(context);
formPanelInstance.onShow(context);
}
_hideFormPanelLoading(tabId);
if (formPanelInstance) {
formPanelInstance.onShow(context);
}
}, 13)
}