fix button "Edit" encode url in address and contact template
This commit is contained in:
parent
6cb8662bec
commit
1d5f8d4436
@ -8,7 +8,7 @@
|
||||
{% if(addr_list[i].is_shipping_address) { %}
|
||||
<span class="text-muted">({%= __("Shipping") %})</span>{% } %}
|
||||
|
||||
<a href="#Form/Address/{%= addr_list[i].name %}"
|
||||
<a href="#Form/Address/{%= encodeURIComponent(addr_list[i].name) %}"
|
||||
class="btn btn-default btn-xs pull-right">
|
||||
{%= __("Edit") %}</a>
|
||||
</p>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<span class="text-muted">({%= __("Primary") %})</span>
|
||||
{% } %}
|
||||
|
||||
<a href="#Form/Contact/{%= contact_list[i].name %}"
|
||||
<a href="#Form/Contact/{%= encodeURIComponent(contact_list[i].name) %}"
|
||||
class="btn btn-xs btn-default pull-right">
|
||||
{%= __("Edit") %}</a>
|
||||
</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user