From eb8c1d2c7874150aae51daed8058b1a89315778b Mon Sep 17 00:00:00 2001 From: mabashian Date: Tue, 7 Aug 2018 13:55:15 -0400 Subject: [PATCH] Fix comment --- .../workflows/add-workflow/workflow-add.controller.js | 4 ++-- .../workflows/edit-workflow/workflow-edit.controller.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/awx/ui/client/src/templates/workflows/add-workflow/workflow-add.controller.js b/awx/ui/client/src/templates/workflows/add-workflow/workflow-add.controller.js index 84d911253f..37a0749e3a 100644 --- a/awx/ui/client/src/templates/workflows/add-workflow/workflow-add.controller.js +++ b/awx/ui/client/src/templates/workflows/add-workflow/workflow-add.controller.js @@ -183,7 +183,7 @@ export default [ * This block of code specifically handles the client-side validation of the `labels` field. * Due to it's detached nature in relation to the other job template fields, we must * validate this field client-side in order to avoid the edge case where a user can make a - * successful POST to the `job_templates` endpoint but however encounter a 200 error from + * successful POST to the `workflow_job_templates` endpoint but however encounter a 200 error from * the `labels` endpoint due to a character limit. * * We leverage two of select2's available events, `select` and `unselect`, to detect when the user @@ -191,7 +191,7 @@ export default [ * checks to make sure a label's chacacter count remains under 512. Otherwise, we disable the "Save" button * by invalidating the field and inform the user of the error. */ - + $scope.workflow_job_template_labels_isValid = true; const maxCount = 512; const wfjt_label_id = 'workflow_job_template_labels'; diff --git a/awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js b/awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js index a6aa1ad6dc..772fc75f13 100644 --- a/awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js +++ b/awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js @@ -327,7 +327,7 @@ export default [ * This block of code specifically handles the client-side validation of the `labels` field. * Due to it's detached nature in relation to the other job template fields, we must * validate this field client-side in order to avoid the edge case where a user can make a - * successful POST to the `job_templates` endpoint but however encounter a 200 error from + * successful POST to the `workflow_job_templates` endpoint but however encounter a 200 error from * the `labels` endpoint due to a character limit. * * We leverage two of select2's available events, `select` and `unselect`, to detect when the user @@ -335,7 +335,7 @@ export default [ * checks to make sure a label's chacacter count remains under 512. Otherwise, we disable the "Save" button * by invalidating the field and inform the user of the error. */ - + $scope.workflow_job_template_labels_isValid = true; const maxCount = 512; const wfjt_label_id = 'workflow_job_template_labels';