From: ivan Date: Sat, 29 Mar 2008 08:32:17 +0000 (+0000) Subject: in the unlikely error case, the order button should stay enabled X-Git-Tag: root_of_webpay_support~790 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=cf388e9e55e5c1125a4ac7b8f2a1b3354d46f59b;p=freeside.git in the unlikely error case, the order button should stay enabled --- diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index f4f297140..852b51ce4 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -21,7 +21,7 @@ function enable_order_pkg () { Package <% include('/elements/select-cust-part_pkg.html', - 'curr_value' => scalar( $cgi->param('pkgpart') ), + 'curr_value' => $pkgpart, 'cust_main' => $cust_main, 'onchange' => 'enable_order_pkg', ) @@ -41,7 +41,7 @@ function enable_order_pkg () {
- +> @@ -61,4 +61,6 @@ my $cust_main = qsearchs({ 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql, }); +my $pkgpart = scalar($cgi->param('pkgpart')); +