Revision d5d2d63f
Added by Ondřej Pražák over 6 years ago
app/assets/javascripts/host_edit.js | ||
---|---|---|
// call for form update only if there is a hostgroup selected
|
||
if ($('#host_hostgroup_id').val() != "") {
|
||
$("#host_compute_resource_id").prop("disabled", true);
|
||
return update_form(element).then(function () {
|
||
$("#host_compute_resource_id").prop("disabled", false);
|
||
});
|
||
return update_form(element);
|
||
}
|
||
}
|
||
|
Also available in: Unified diff
Fixes #5790 - Add compute resource to hostgroup (#4593)