Merge pull request #398 from ymage/master

Add missing $SCRIPT_ROOT in template_edit.html
This commit is contained in:
Khanh Ngo 2018-11-21 10:27:28 +07:00 committed by GitHub
commit 6151225b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(data, '/template/' + template + '/apply', true);
applyChanges(data, $SCRIPT_ROOT + '/template/' + template + '/apply', true);
modal.modal('hide');
})
modal.modal('show');