X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=780bf96ad391d959bec7a0930d831889acd334a7;hb=66906f54d1099dcae84e69240c3a16bc9a82c37f;hp=4c17249bda53964739c70fc8df616ae57f5a20b1;hpb=a59da6000c99b8fa3f391122900c44735593f544;p=freeside.git 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++) {