From cb726ae4f9ba3e0552a8b44064371bac8bc698b3 Mon Sep 17 00:00:00 2001 From: Ymage Date: Mon, 19 Nov 2018 10:35:23 +0100 Subject: [PATCH] Add missing $SCRIPT_ROOT Fix #317 --- app/templates/template_edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/template_edit.html b/app/templates/template_edit.html index c63e684..673591c 100644 --- a/app/templates/template_edit.html +++ b/app/templates/template_edit.html @@ -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');