[freeside-commits] freeside/httemplate/misc order_pkg.html, 1.18.2.1, 1.18.2.2

Ivan,,, ivan at wavetail.420.am
Mon Apr 11 09:05:21 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv5594

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	order_pkg.html 
Log Message:
move javascript for great justice

Index: order_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/order_pkg.html,v
retrieving revision 1.18.2.1
retrieving revision 1.18.2.2
diff -u -w -d -r1.18.2.1 -r1.18.2.2
--- order_pkg.html	11 Apr 2011 01:24:50 -0000	1.18.2.1
+++ order_pkg.html	11 Apr 2011 16:05:19 -0000	1.18.2.2
@@ -21,6 +21,16 @@
     }
   }
 
+  function standardize_new_location() {
+    var form = document.OrderPkgForm;
+    var loc = form.locationnum;
+    if (loc.type = 'select-one' && loc.options[loc.selectedIndex].value == -1) {
+      standardize_locations();
+    } else {
+      form.submit();
+    }
+  }
+
 </SCRIPT>
 
 <% include('/elements/error.html') %>
@@ -109,21 +119,6 @@
 <BR>
 <INPUT NAME="submitButton" TYPE="button" VALUE="Order Package" onClick = "this.disabled=true; standardize_new_location();" <% $pkgpart ? '' : 'DISABLED' %>>
 
-<SCRIPT TYPE="text/javascript">
-
-  function standardize_new_location() {
-    var form = document.OrderPkgForm;
-    var loc = form.locationnum;
-    if (loc.type = 'select-one' && loc.options[loc.selectedIndex].value == -1) {
-      standardize_locations();
-    } else {
-      form.submit();
-    }
-  }
-
-</SCRIPT>
-
-
 </FORM>
 </BODY>
 </HTML>



More information about the freeside-commits mailing list