summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++)