CLOUDSTACK-6479: Strict and Preferred modes should only be allowed in Implict Dedication Planner Service Offerings.

This commit is contained in:
Sanjay Tripathi 2014-05-05 14:24:20 +05:30
parent cc92f3bbe3
commit 6c44c0661d

View File

@ -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();
}
});
}
});
}