summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-09 12:14:12 +0100
committerYorhel <git@yorhel.nl>2008-12-09 12:14:12 +0100
commit62ab2e931cf21236e83d4483d8cb4eb773f26a89 (patch)
treea4a6306b569c97485c324045bf6ea9689702f219 /static
parent148934c9d29be12fddc4e043fc587cce4f8b47b5 (diff)
Release list editing from release pages
I get the feeling I'm kind of rushing this entire VNlist feature and don't really think about making things look nice... Oh well, as long as it works. Nothing has to be perfect from the start, can always fix things afterwards, etc.
Diffstat (limited to 'static')
-rw-r--r--static/f/script.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/static/f/script.js b/static/f/script.js
index d6389bb5..918e4bc8 100644
--- a/static/f/script.js
+++ b/static/f/script.js
@@ -290,6 +290,13 @@ DOMLoad(function() {
};
+ // Release list editing
+ i = x('listsel');
+ if(i)
+ i.onchange = function() {
+ if(this.selectedIndex != 0)
+ location.href = location.href+'/list?e='+this.options[this.selectedIndex].value;
+ };
// User VN list
i = x('relhidall');
if(i) {