mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 16:27:42 -02:30
Removes redundant maxCount declaration
This commit is contained in:
@@ -528,7 +528,6 @@
|
|||||||
|
|
||||||
// Detect when a label is removed
|
// Detect when a label is removed
|
||||||
$(`#${jt_label_id}`).on('select2:unselect', (e) => {
|
$(`#${jt_label_id}`).on('select2:unselect', (e) => {
|
||||||
const maxCount = 512;
|
|
||||||
const { text } = e.params.data;
|
const { text } = e.params.data;
|
||||||
|
|
||||||
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
||||||
|
|||||||
@@ -736,7 +736,6 @@ export default
|
|||||||
|
|
||||||
// Detect when a label is removed
|
// Detect when a label is removed
|
||||||
$(`#${jt_label_id}`).on('select2:unselect', (e) => {
|
$(`#${jt_label_id}`).on('select2:unselect', (e) => {
|
||||||
const maxCount = 512;
|
|
||||||
const { text } = e.params.data;
|
const { text } = e.params.data;
|
||||||
|
|
||||||
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
||||||
|
|||||||
@@ -207,7 +207,6 @@ export default [
|
|||||||
});
|
});
|
||||||
// Detect when a label is removed
|
// Detect when a label is removed
|
||||||
$(`#${wfjt_label_id}`).on('select2:unselect', (e) => {
|
$(`#${wfjt_label_id}`).on('select2:unselect', (e) => {
|
||||||
const maxCount = 512;
|
|
||||||
const { text } = e.params.data;
|
const { text } = e.params.data;
|
||||||
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
||||||
as invalid, we set it back to valid */
|
as invalid, we set it back to valid */
|
||||||
|
|||||||
@@ -351,7 +351,6 @@ export default [
|
|||||||
});
|
});
|
||||||
// Detect when a label is removed
|
// Detect when a label is removed
|
||||||
$(`#${wfjt_label_id}`).on('select2:unselect', (e) => {
|
$(`#${wfjt_label_id}`).on('select2:unselect', (e) => {
|
||||||
const maxCount = 512;
|
|
||||||
const { text } = e.params.data;
|
const { text } = e.params.data;
|
||||||
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
||||||
as invalid, we set it back to valid */
|
as invalid, we set it back to valid */
|
||||||
|
|||||||
Reference in New Issue
Block a user