BigW Consortium Gitlab

Commit f9378bad by Alfredo Sumaran

Refine selector for form submit button

parent af8a567a
......@@ -48,7 +48,7 @@
const $allowedToPushInput = this.$wrap.find('input[name="protected_branch[push_access_level_attributes][access_level]"]');
if ($branchInput.val() && $allowedToMergeInput.val() && $allowedToPushInput.val()){
this.$form.find('[type="submit"]').removeAttr('disabled');
this.$form.find('input[type="submit"]').removeAttr('disabled');
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment