From: ivan Date: Wed, 30 May 2007 03:05:11 +0000 (+0000) Subject: fix javascript confirmation for domain records with " in them... X-Git-Tag: TRIXBOX_2_6~508 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2c5388c6e17eda8b1bcffce207a88d2da05d91ca fix javascript confirmation for domain records with " in them... --- diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index 7fdce37df..8653c4f42 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -51,7 +51,8 @@ Service #<% $svcnum %> <% $domain_record->recdata %> % unless ( $domain_record->rectype eq 'SOA' ) { - (delete) +% ( my $recdata = $domain_record->recdata ) =~ s/"/\\'\\'/g; + (delete) % }