Open GoogleCodeExporter opened 9 years ago
Causes priority arrows to not show up correctly on generals dashboard. Extra quotes and + sign: Was: // priority/charge vv = ''; if (isNumber(v = p.priority)) { if (v !== 1) { vv += '<a class="golem-moveup" name="'+v+'">↑</a> '; } vv += v; if (v !== this.runtime.max_priority) { vv += + ' <a class="golem-movedown" name="'+v+'">↓</a>'; } } else if (isNumber(v = p.charge)) { if (v > now) { vv = makeTime(v, 'g:i a'); } else { vv = 'Now'; } } td(output, vv); Fixed: // priority/charge vv = ''; if (isNumber(v = p.priority)) { if (v !== 1) { vv += '<a class="golem-moveup" name='+v+'>↑</a> '; } vv += v; if (v !== this.runtime.max_priority) { vv += ' <a class="golem-movedown" name='+v+'>↓</a>'; } } else if (isNumber(v = p.charge)) { if (v > now) { vv = makeTime(v, 'g:i a'); } else { vv = 'Now'; } } td(output, vv);
Original issue reported on code.google.com by ke...@sillygreenmonkey.com on 10 Mar 2012 at 11:44
ke...@sillygreenmonkey.com
Thanks, I fixed that plus sign in r1183, so it should be good now. Current is r1194 as of this post.
Original comment by lur...@hotmail.com on 16 Mar 2012 at 4:55
lur...@hotmail.com
Original issue reported on code.google.com by
ke...@sillygreenmonkey.com
on 10 Mar 2012 at 11:44