Skip to content
Snippets Groups Projects

Resolve "Specific Async Script Loading by using a Page Variable"

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
export default function setupProjectEdit() {
const $transferForm = $('.js-project-transfer-form');
const $selectNamespace = $transferForm.find('.select2');
const $selectNamespace = $transferForm.find('select.select2');
$selectNamespace.on('change', () => {
$transferForm.find(':submit').prop('disabled', !$selectNamespace.val());
Loading