From 1fa34b4ac274dd4fac4e7015ca59181804aa8a9b Mon Sep 17 00:00:00 2001 From: Anthony F McInerney Date: Thu, 24 Sep 2020 23:50:21 +0100 Subject: [PATCH] Add service templates --- includes/html/modal/new_service_template.inc.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/html/modal/new_service_template.inc.php b/includes/html/modal/new_service_template.inc.php index ec6466eab3..503fa340d4 100644 --- a/includes/html/modal/new_service_template.inc.php +++ b/includes/html/modal/new_service_template.inc.php @@ -126,9 +126,7 @@ if (Auth::user()->hasGlobalAdmin()) { // on-hide $('#create-service-template').on('hide.bs.modal', function (event) { $('#device_group_id').val(''); - $("#device_group_id").prop("disabled", false); $('#stype').val(''); - $("#stype").prop("disabled", false); $('#desc').val(''); $('#ip').val(''); $('#param').val(''); @@ -149,9 +147,7 @@ $('#create-service-template').on('show.bs.modal', function (e) { dataType: "json", success: function(output) { $('#device_group_id').val(output['device_group_id']); - $("#device_group_id").prop("disabled", true); $('#stype').val(output['stype']); - $("#stype").prop("disabled", true); $('#desc').val(output['desc']); $('#ip').val(output['ip']); $('#param').val(output['param']);