mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
feature #3748: Fix error in reset button
This commit is contained in:
1 parent
bd0a9dc26a
commit
55200d2dbe
1 file changed
+5
-4
@@ -770,10 +770,11 @@ define(function(require) {
|
||||
var context = $("#" + tabId);
|
||||
//$(".right-form", context).html(content);
|
||||
var formPanelInstance = SunstoneCfg["tabs"][tabId].activeFormPanel;
|
||||
|
||||
// Set title and button strings
|
||||
$(".right-form-title", context).text(formPanelInstance.title());
|
||||
$(".submit_button", context).text(formPanelInstance.buttonText());
|
||||
if (formPanelInstance) {
|
||||
// Set title and button strings
|
||||
$(".right-form-title", context).text(formPanelInstance.title());
|
||||
$(".submit_button", context).text(formPanelInstance.buttonText());
|
||||
}
|
||||
|
||||
$(".loadingForm", context).hide();
|
||||
$(".tabs-contentForm", context).show();
|
||||
|
||||
Reference in new issue
Block a user