ispman/ispman-web/cgi-bin/tmpl/mailgroups edit.tmpl, 1.7, 1.8

Joerg Delker <[email protected]> Tue, 31 Jul 2007 13:42:14 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/mailgroups
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv12087/ispman-web/cgi-bin/tmpl/mailgroups

Modified Files:
	edit.tmpl 
Log Message:
additional fixes for bug [ 1693935 ]

Index: edit.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/mailgroups/edit.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- edit.tmpl	3 Jul 2006 22:09:27 -0000	1.7
+++ edit.tmpl	31 Jul 2007 13:42:12 -0000	1.8
@@ -1,7 +1,7 @@
 <script>
         function Delete(){
                 if (confirm("Are you sure you want to permanently delete this mailgroup?")) 
-                self.location="<perl>$r->url</perl>?mode=deleteMailGroup&cn=<perl>$ispman->{'mailgroup'}{'cn'}</perl>&ispmanDomain=<perl>$r->param("ispmanDomain")</perl>";
+                self.location="<perl>$ENV{'SCRIPT_NAME'}</perl>?mode=deleteMailGroup&cn=<perl>$ispman->{'mailgroup'}{'cn'}</perl>&ispmanDomain=<perl>$r->param("ispmanDomain")</perl>";
         }
 </script>
 <LINK HREF="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css">


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/