projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
25a2e0e
)
move javascript for great justice
author
ivan
<ivan>
Mon, 11 Apr 2011 16:05:17 +0000
(16:05 +0000)
committer
ivan
<ivan>
Mon, 11 Apr 2011 16:05:17 +0000
(16:05 +0000)
httemplate/misc/order_pkg.html
patch
|
blob
|
history
diff --git
a/httemplate/misc/order_pkg.html
b/httemplate/misc/order_pkg.html
index
18ad746
..
233262a
100644
(file)
--- a/
httemplate/misc/order_pkg.html
+++ b/
httemplate/misc/order_pkg.html
@@
-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') %>
</SCRIPT>
<% include('/elements/error.html') %>
@@
-145,21
+155,6
@@
<% $pkgpart ? '' : 'DISABLED' %>
>
<% $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>
</FORM>
</BODY>
</HTML>