X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_domain.cgi;h=cd9f79d3643731e7acf4f229cda62963e44203a5;hp=1dbe16d23684d9dfd228dcc62853ad8156541c19;hb=0f10241a8a2e3d5978b17f7b3b0c579902ae2250;hpb=35effa1bf4ac902547615c816960bbc8db8e7256 diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index 1dbe16d23..cd9f79d36 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -54,6 +54,9 @@ Service #<%= $svcnum %> if ( confirm("Remove this record?") == true ) window.location.href = href; } + function slave_areyousure() { + return confirm("Remove all records and slave from " + document.SlaveForm.recdata.value + "?"); + } <% my @records; if ( @records = $svc_domain->domain_record ) { %> @@ -90,7 +93,7 @@ Service #<%= $svcnum %>

or

-
+ <% if ( @records ) { %> Delete all records and <% } %> @@ -99,7 +102,7 @@ Slave from nameserver IP - +


<%= joblisting({'svcnum'=>$svcnum}, 1) %>