From: Steve Sutton Date: Thu, 12 Sep 2019 14:30:27 +0000 (-0400) Subject: Bugfix for account name X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Ffeature%2FuptraLive;p=WP-Plugins%2Fglm-member-db-billing.git Bugfix for account name Change the account javascript which is setting the account name to deal with the names that may have apostrophes in it. --- diff --git a/views/admin/billing/invoices.html b/views/admin/billing/invoices.html index 5a20fe5..b8f1443 100644 --- a/views/admin/billing/invoices.html +++ b/views/admin/billing/invoices.html @@ -368,7 +368,7 @@ {$selected = $m.ref_name|unescape:'html'|replace:'"':''} {/if} {/foreach} - $('#account_name').autocomplete().val('{$selected}'); + $('#account_name').autocomplete().val("{$selected|unescape:'html'|replace:'"':''}"); {/if} // Flash certain elements for a short time after display