From 07ffd93703760f7ee6b3f29451e3369493a2f560 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 10 Nov 2005 00:00:58 +0000 Subject: [PATCH] add javascript confirmation to unaudited domain deletion, add record being deleted to record deletion popup --- httemplate/view/svc_domain.cgi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index 057b15788..428f3e9bf 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -36,8 +36,8 @@ my $domain = $svc_domain->domain; ( ( $pkgnum || $custnum ) ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", ) - : ( "Cancel this (unaudited) domain" => - "${p}misc/cancel-unaudited.cgi?$svcnum" ) + : ( "Delete this (unaudited) domain" => + "javascript:areyousure('${p}misc/cancel-unaudited.cgi?$svcnum', 'Delete $domain and all records?' )" ) ), "Main menu" => $p, )) %> @@ -50,8 +50,8 @@ Service #<%= $svcnum %>

View whois information.