summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-cust_location.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-select-cust_location.html')
-rw-r--r--httemplate/elements/tr-select-cust_location.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html
index 4c17249bd..780bf96ad 100644
--- a/httemplate/elements/tr-select-cust_location.html
+++ b/httemplate/elements/tr-select-cust_location.html
@@ -153,7 +153,7 @@ Example:
}
}
- var location_fields = <% to_json(\@location_fields) %>;
+ var location_fields = <% encode_json(\@location_fields) %>;
function update_location( string ) {
var hash = JSON.parse(string);
for(var i = 0; i < location_fields.length; i++) {