Add missing $SCRIPT_ROOT

Fix #317
This commit is contained in:
Ymage 2018-11-19 10:35:23 +01:00
parent a1245dcded
commit cb726ae4f9

View File

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