Skip to content

Commit 149cb33

Browse files
CLOUDSTACK-6479: Strict and Preferred modes should only be allowed in Implict Dedication Planner Service Offerings.
1 parent 144990d commit 149cb33

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎ui/scripts/configuration.js‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,15 @@
331331
args.response.success({
332332
data: items
333333
});
334-
335-
334+
args.$select.change(function() {
335+
var $form = $(this).closest('form');
336+
var $fields = $form.find('.field');
337+
if ($(this).val() == "ImplicitDedicationPlanner") {
338+
$form.find('[rel=plannerMode]').css('display', 'block');
339+
} else {
340+
$form.find('[rel=plannerMode]').hide();
341+
}
342+
});
336343
}
337344
});
338345
}

0 commit comments

Comments
 (0)