summaryrefslogtreecommitdiff
path: root/static/files
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-08-01 10:35:11 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-08-01 10:35:11 +0000
commitb274ff8a37e90a90c7613b47a84bad1cdc6ddf5f (patch)
tree13798abeee6d3893af98093312ae8d694a404619 /static/files
parent68d66b006656ed90e08187a2d5ceb95b08e4f279 (diff)
Added wishlist feature and re-added "my profile" link to user menu
git-svn-id: svn://vndb.org/vndb@77 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'static/files')
-rw-r--r--static/files/def.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/files/def.js b/static/files/def.js
index 486c7a4a..96c7fcf2 100644
--- a/static/files/def.js
+++ b/static/files/def.js
@@ -284,20 +284,20 @@ DOMLoad(function() {
});
}
- // mass-change rlist status
+ // mass-change rlist or wlist status
if(x('vnlistchange')) {
x('vnlistchange').onchange = function() {
var val = this.options[this.selectedIndex].value;
if(val == 'n')
return;
- var l = x('rli').getElementsByTagName('input');
+ var l = (x('rli')||x('twl')).getElementsByTagName('input');
var y; var ch=0;
for(y=0;y<l.length;y++)
if(l[y].type == 'checkbox' && l[y].checked)
ch++;
if(!ch)
return alert('Nothing selected...');
- if(val == 'd' && !confirm('Are you sure you want to remove the selected items from your visual novel list?'))
+ if(val == 'd' && !confirm('Are you sure you want to remove the selected items from your list?'))
return;
document.forms[1].submit();
}