mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Hide wizard tabs selector if no advanced section is provided
This commit is contained in:
1 parent
88f6e33c98
commit
c5133458d3
1 file changed
+6
@@ -184,6 +184,12 @@ var Sunstone = {
|
||||
|
||||
$(".reset_button", context).show();
|
||||
|
||||
if (form_obj.advanced_html) {
|
||||
$(".wizard_tabs", context).show();
|
||||
} else {
|
||||
$(".wizard_tabs", context).hide();
|
||||
}
|
||||
|
||||
if (action) {
|
||||
$(".right-form-title", context).text(form_obj["actions"][action]["title"]);
|
||||
$(".submit_button", context).text(form_obj["actions"][action]["submit_text"]);
|
||||
|
||||
Reference in new issue
Block a user