From 2c5388c6e17eda8b1bcffce207a88d2da05d91ca Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 30 May 2007 03:05:11 +0000 Subject: [PATCH] fix javascript confirmation for domain records with " in them... --- httemplate/view/svc_domain.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) % } -- 2.11.0