Revision dec6f148
Added by Amos Benari about 12 years ago
- ID dec6f148597f2b72fa2ecb0786ee70d059a77e52
public/javascripts/application.js | ||
---|---|---|
$(div).load(url + "?operatingsystem_id=" + os_id + "&hostgroup_id=" + hostgroup_id + "&environment_id=" + env_id,
|
||
function(response, status, xhr) {
|
||
if (status == "error") {
|
||
$(div).html("<p>Sorry but no templates were configured.</p>");
|
||
$(div).html("<div class='alert alert-warning'><a class='close' data-di smiss='alert'>×</a><p>Sorry but no templates were configured.</p></div>");
|
||
}
|
||
});
|
||
}
|
Also available in: Unified diff
[UI] templates button in host form.