diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-04-17 20:44:39 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-04-17 20:44:39 -0700 |
commit | 04bf3e2423b070d3e3e2a2e6006b678bcf11b481 (patch) | |
tree | df34ab7f8a9a14305a2b2b6124035f680cc559ef /httemplate/elements/tr-select-cust_location.html | |
parent | 9fbee73725ce02023c76179d573048cf4177903b (diff) |
move from legacy compat JSON to_json to modern JSON::XS encode_json, RT#22630
Diffstat (limited to 'httemplate/elements/tr-select-cust_location.html')
-rw-r--r-- | httemplate/elements/tr-select-cust_location.html | 2 |
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++) { |