From: ivan Date: Mon, 11 Apr 2011 16:12:48 +0000 (+0000) Subject: fix javascript for great justice X-Git-Tag: freeside_2_1_3~317 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=159c0901b106e263c06f7a1877df5197ca9beae1;p=freeside.git fix javascript for great justice --- diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index 6bcd5e5a6..57f1f3b9b 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -24,7 +24,7 @@ function standardize_new_location() { var form = document.OrderPkgForm; var loc = form.locationnum; - if (loc.type = 'select-one' && loc.options[loc.selectedIndex].value == -1) { + if (loc.type == 'select-one' && loc.options[loc.selectedIndex].value == -1){ standardize_locations(); } else { form.submit();