From 106718fc2034b4ae276a97fe3012e6b746a7f27c Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 24 Aug 2015 15:41:34 -0400 Subject: [PATCH] fixed callback fields from always displaying on jt edit --- awx/ui/client/src/forms/JobTemplates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/forms/JobTemplates.js b/awx/ui/client/src/forms/JobTemplates.js index e2bc2914f6..6d3a82286d 100644 --- a/awx/ui/client/src/forms/JobTemplates.js +++ b/awx/ui/client/src/forms/JobTemplates.js @@ -298,7 +298,7 @@ export default addRequired: false, editRequired: false, readonly: true, - ngShow: "allow_callbacks", + ngShow: "allow_callbacks && allow_callbacks !== 'false'", column: 2, awPopOver: "callback_help", awPopOverWatch: "callback_help", @@ -309,7 +309,7 @@ export default host_config_key: { label: 'Host Config Key', type: 'text', - ngShow: "allow_callbacks", + ngShow: "allow_callbacks && allow_callbacks !== 'false'", ngChange: "configKeyChange()", genMD5: true, column: 2,