diff options
author | Yorhel <git@yorhel.nl> | 2019-12-24 10:51:27 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-12-24 10:55:18 +0100 |
commit | 444990e4d924903d28b3f33c53f7df37c23b3f32 (patch) | |
tree | 824db6e0fbb0a5cc9f1a3069316916dcc7984e8c /data/js | |
parent | 0916ec2e23f7c15a484781894ee0edee728ecd13 (diff) |
ulist: Add list management widget on VN pages
Minimal version. It reuses the LabelEdit and VoteEdit widgets, but
doesn't allow setting a note or start/finish date at the moment.
VN pages now have both v2rw.js and the old vndb.js; Those two scripts
aren't meant to be used together on a single page, so I'm hoping this
will be temporary. I removed the 'checkall' handling from vndb.js as
that might conflict. It's only used on the old list pages anyway.
Diffstat (limited to 'data/js')
-rw-r--r-- | data/js/misc.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/data/js/misc.js b/data/js/misc.js index e5b135d0..fd042524 100644 --- a/data/js/misc.js +++ b/data/js/misc.js @@ -248,21 +248,6 @@ if(byId('not') && byId('vns')) })(); -// "check all" checkbox -(function(){ - function set() { - var l = byName('input'); - for(var i=0; i<l.length; i++) - if(l[i].type == this.type && l[i].name == this.name && !hasClass(l[i], 'hidden')) - l[i].checked = this.checked; - } - var l = byClass('input', 'checkall'); - for(var i=0; i<l.length; i++) - if(l[i].type == 'checkbox') - l[i].onclick = set; -})(); - - // search tabs (function(){ function click() { |