// Remove html entities form JS string

This commit is contained in:
mDeflotte
2012-06-27 08:06:00 +00:00
parent 16fef787e2
commit 6a6230f8cc
@@ -109,7 +109,7 @@
} }
function resetLayout(defaultLayout, type) { function resetLayout(defaultLayout, type) {
if (confirm("{l s='Are you sure you want to restore the default address format for this country?'}")) if (confirm("{l s='Are you sure you want to restore the default address format for this country?' js=1}"))
$("#ordered_fields").val(unescape(defaultLayout.replace(/\+/g, " "))); $("#ordered_fields").val(unescape(defaultLayout.replace(/\+/g, " ")));
} }