Ensure we are looking for the right dropdown inside the form wrapper
This commit is contained in:
parent
f096cc0471
commit
26c1b72d8f
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@
|
|||
}
|
||||
|
||||
onSelect() {
|
||||
const $allowedToMergeInput = $(`input[name="${this.$allowedToMergeDropdown.data('fieldName')}"]`);
|
||||
const $allowedToPushInput = $(`input[name="${this.$allowedToPushDropdown.data('fieldName')}"]`);
|
||||
const $allowedToMergeInput = this.$wrap.find(`input[name="${this.$allowedToMergeDropdown.data('fieldName')}"]`);
|
||||
const $allowedToPushInput = this.$wrap.find(`input[name="${this.$allowedToPushDropdown.data('fieldName')}"]`);
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
|
|
Loading…
Reference in a new issue