projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
httemplate
/
edit
/
process
/
cust_main_county-expand.cgi
diff --git
a/httemplate/edit/process/cust_main_county-expand.cgi
b/httemplate/edit/process/cust_main_county-expand.cgi
index
9984b08
..
42e4673
100755
(executable)
--- a/
httemplate/edit/process/cust_main_county-expand.cgi
+++ b/
httemplate/edit/process/cust_main_county-expand.cgi
@@
-1,7
+1,7
@@
<% include('/elements/header-popup.html', 'Addition successful' ) %>
<SCRIPT TYPE="text/javascript">
<% include('/elements/header-popup.html', 'Addition successful' ) %>
<SCRIPT TYPE="text/javascript">
-
window.top.location.
reload();
+
top
reload();
</SCRIPT>
</BODY>
</SCRIPT>
</BODY>
@@
-22,7
+22,7
@@
if ( $cgi->param('taxclass') ) {
or die dbh->errstr;
$sth->execute or die $sth->errstr;
@expansion = map $_->[0], @{$sth->fetchall_arrayref};
or die dbh->errstr;
$sth->execute or die $sth->errstr;
@expansion = map $_->[0], @{$sth->fetchall_arrayref};
- die "no taxclasses - add one first" unless @expansion;#XXX better err handling
+ errorpage "No taxclasses - add one first" unless @expansion;
} else {
@expansion = split /[\n\r]{1,2}/, $cgi->param('expansion');
} else {
@expansion = split /[\n\r]{1,2}/, $cgi->param('expansion');