mirror of
https://github.com/OpenNebula/one.git
synced 2025-04-01 06:50:25 +03:00
Hide wizard tabs selector if no advanced section is provided
This commit is contained in:
parent
88f6e33c98
commit
c5133458d3
@ -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"]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user