summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-03-27 07:03:39 +0100
committerYorhel <git@yorhel.nl>2009-03-27 07:36:13 +0100
commitb44d87829e693e7dbaff356af384ce7ec2633334 (patch)
tree2596bae2445b65d73cf83617913fea55b3f69b8c /static
parentb3e0e501adb890bbc93791aee1474c7e2e589560 (diff)
Don't delete all users tags on submitting votes
This is what you get when you write half-hearted code and end up having to change something afterward, you just always forget to update *something*.
Diffstat (limited to 'static')
-rw-r--r--static/f/forms.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/f/forms.js b/static/f/forms.js
index a757420e..b9770203 100644
--- a/static/f/forms.js
+++ b/static/f/forms.js
@@ -941,7 +941,7 @@ function tglSerialize() {
var l = x('tagtable').getElementsByTagName('tbody')[0].getElementsByTagName('tr');
for(var i=0; i<l.length;i++) {
var lnk = l[i].getElementsByTagName('a')[0].href;
- var vt = l[i].getElementsByTagName('td')[3].getElementsByTagName('a');
+ var vt = l[i].getElementsByTagName('td')[1].getElementsByTagName('a');
var id;
if((id = lnk.replace(/^.*g([1-9][0-9]*)$/, "$1")) != lnk && vt.length > 3 && vt[3].innerHTML != '-')
r += (r?' ':'')+id+','+vt[3].innerHTML+','+(l[i].getElementsByTagName('select')[0].selectedIndex-1);