summaryrefslogtreecommitdiff
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
parent8a958f0d8b5544bf783362dfb7cc54b903ae2f20 (diff)
Increased maximum medium quantity to 20
-rw-r--r--ChangeLog1
-rw-r--r--static/f/forms.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a523e2ec..af5eaefd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,7 @@ git - ?
- Full reply button in Quick reply box + larger textarea in post form
- Removed visual-novels.net link from the interface
- Fixed bug with excluding AVG(vote) < 0 VNs from tag pages
+ - Allow media quantity up to 20 instead of 10
2.6 - 2009-08-09
- New screen resolutions: 1024x600 and 1600x1200
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++)