X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main-contacts.html;h=317257b3be3aa2e59f78f9d4bd98118cea8b6f7f;hb=4639e25a658d9a0bf295415642fae8e8cdad846a;hp=7c5a78209ce6044857b4bcce7b1a96d30ac96291;hpb=8ca45ec1f1ab960ee1e262ee764f05d214728d05;p=freeside.git diff --git a/httemplate/edit/cust_main-contacts.html b/httemplate/edit/cust_main-contacts.html index 7c5a78209..317257b3b 100644 --- a/httemplate/edit/cust_main-contacts.html +++ b/httemplate/edit/cust_main-contacts.html @@ -24,6 +24,7 @@ this one isn't being maintained well. :/ 'table' => 'cust_main', 'post_url' => popurl(1). 'process/cust_main-contacts.html', 'no_pkey_display' => 1, + 'submit_id' => 'submit', 'labels' => { 'contactnum' => ' ', #'Contact', #'locationnum' => ' ', @@ -60,6 +61,13 @@ this one isn't being maintained well. :/ my $curuser = $FS::CurrentUser::CurrentUser; my $conf = new FS::Conf; +if ( $cgi->param('redirect') ) { + my $session = $cgi->param('redirect'); + my $pref = $curuser->option("redirect$session"); + die "unknown redirect session $session\n" unless length($pref); + $cgi = new CGI($pref); +} + my $custnum; if ( $cgi->param('error') ) { $custnum = scalar($cgi->param('custnum'));