mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6479: Strict and Preferred modes should only be allowed in Implict Dedication Planner Service Offerings.
This commit is contained in:
parent
cc92f3bbe3
commit
6c44c0661d
|
|
@ -353,8 +353,15 @@
|
|||
args.response.success({
|
||||
data: items
|
||||
});
|
||||
|
||||
|
||||
args.$select.change(function() {
|
||||
var $form = $(this).closest('form');
|
||||
var $fields = $form.find('.field');
|
||||
if ($(this).val() == "ImplicitDedicationPlanner") {
|
||||
$form.find('[rel=plannerMode]').css('display', 'block');
|
||||
} else {
|
||||
$form.find('[rel=plannerMode]').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue