summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-07 12:30:46 +0100
committerYorhel <git@yorhel.nl>2008-12-07 12:30:46 +0100
commit22fcb9d63cb265a89aec31521084dad605f64228 (patch)
tree39c7f54f1b2ecf411d9143163935eb6e5faf8fe5 /static
parentb5d73e4a9d7df30320b23d07ef62cf78167e71db (diff)
Modify wishlist from VN pages
Diffstat (limited to 'static')
-rw-r--r--static/f/script.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/static/f/script.js b/static/f/script.js
index 4e4b50d7..533ab41f 100644
--- a/static/f/script.js
+++ b/static/f/script.js
@@ -271,6 +271,14 @@ DOMLoad(function() {
location.href = location.href+'/vote?v='+s;
};
+ // VN Wishlist editing
+ i = x('wishsel');
+ if(i)
+ i.onchange = function() {
+ if(this.selectedIndex != 0)
+ location.href = location.href+'/wish?s='+this.options[this.selectedIndex].value;
+ };
+
// Advanced VN search
if(x('advselect'))