mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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…
x
Reference in New Issue
Block a user