mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
Fix comment
This commit is contained in:
parent
f548e36ad7
commit
eb8c1d2c78
@ -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';
|
||||
|
||||
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user