summaryrefslogtreecommitdiff
path: root/static/f
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-09-20 10:52:36 +0200
committerYorhel <git@yorhel.nl>2009-09-20 10:52:36 +0200
commitee84ff34188c669def275a9b8178866e9cc0abae (patch)
tree78a6009a37f5ce74cbaa844227c59bfd28b05c80 /static/f
parent8a958f0d8b5544bf783362dfb7cc54b903ae2f20 (diff)
Increased maximum medium quantity to 20
Diffstat (limited to 'static/f')
-rw-r--r--static/f/forms.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/f/forms.js b/static/f/forms.js
index 1558358c..ce9daab5 100644
--- a/static/f/forms.js
+++ b/static/f/forms.js
@@ -645,7 +645,7 @@ function medSetSubmit() {
function medAddNew(med, qty) {
var o = document.createElement('span');
var r = '<select class="qty" onchange="medSerialize()"><option value="0">- quantity -</option>';
- for(var i=1;i<=10;i++)
+ for(var i=1;i<=20;i++)
r += '<option value="'+i+'"'+(qty == i ? ' selected="selected"' : '')+'>'+i+'</option>';
r += '</select><select class="medium" onchange="return medCheckNew(this)">';
for(i=0;i<medTypes.length;i++)