fix javascript for great justice
authorivan <ivan>
Mon, 11 Apr 2011 16:12:46 +0000 (16:12 +0000)
committerivan <ivan>
Mon, 11 Apr 2011 16:12:46 +0000 (16:12 +0000)
httemplate/misc/order_pkg.html

index 233262a..17db187 100644 (file)
@@ -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();