Fix a dialog button for Chrome

This commit is contained in:
Lance Edgar 2018-10-18 15:50:06 -05:00
parent 8d1bd2adcd
commit 1bbf6c0940

View file

@ -37,7 +37,7 @@
$('#copy-week').focus(); $('#copy-week').focus();
return; return;
} }
$(event.target).button('disable').button('option', 'label', "Copying Schedule..."); disable_button(dialog_button(event), "Copying Schedule");
$('#copy-schedule-form').submit(); $('#copy-schedule-form').submit();
} }
}, },