Resolve the conflicts for #398

This commit is contained in:
Khanh Ngo 2018-11-21 10:29:33 +07:00
commit 2f39512b65

View File

@ -195,7 +195,7 @@
// following unbind("click") is to avoid multiple times execution
modal.find('#button_apply_confirm').unbind("click").click(function() {
var data = getTableData(table);
applyChanges( {'_csrf_token': '{{ csrf_token() }}', 'records': data}, '/template/' + template + '/apply', true);
applyChanges( {'_csrf_token': '{{ csrf_token() }}', 'records': data}, $SCRIPT_ROOT + '/template/' + template + '/apply', true);
modal.modal('hide');
})
modal.modal('show');