diff options
author | ivan <ivan> | 2005-09-07 12:38:25 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-09-07 12:38:25 +0000 |
commit | 2bb8b57782d966c231947bc4e82feed552a55b51 (patch) | |
tree | 34145431df23003ac9fae0cf7f29cc2e5b54ce79 /httemplate/view | |
parent | 2aa5c02ab333809f44d74140249fbf610233c0fd (diff) |
oops, still need areyousure javascript for some sub-bits of the page (package unprovisioning and cancellation, bunch of payment history stuff)
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_main.cgi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 50f121816..8f39f80bf 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -38,6 +38,14 @@ print qq!<A HREF="${p}edit/cust_main.cgi?$custnum">Edit this customer</A>!; <SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws.js"></SCRIPT> <SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_iframe.js"></SCRIPT> <SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_draggable.js"></SCRIPT> + +<SCRIPT TYPE="text/javascript"> +function areyousure(href, message) { + if (confirm(message) == true) + window.location.href = href; +} +</SCRIPT> + <SCRIPT TYPE="text/javascript"> <% |