Reorder button indexes.

This commit is contained in:
Max Goodman
2012-03-06 16:03:17 -08:00
committed by bsimpson63
parent 7c6fff648c
commit d88e29e89c
2 changed files with 5 additions and 5 deletions

View File

@@ -1137,12 +1137,12 @@ function big_mod_action(elem, dir) {
elem.siblings(".status-msg").hide();
if (dir == -1) {
$.request("remove", d, null, true);
elem.siblings(".spammed").show();
} else if (dir == -2) {
d.spam = false;
$.request("remove", d, null, true);
elem.siblings(".removed").show();
} else if (dir == -2) {
$.request("remove", d, null, true);
elem.siblings(".spammed").show();
} else if (dir == 1) {
$.request("approve", d, null, true);
elem.siblings(".approved").show();

View File

@@ -126,9 +126,9 @@
"big_mod_action", -1, "negative")}
%else:
${pretty_button(_("spam %(obj)s") % dict(obj=kind),
"big_mod_action", -1, "negative")}
${pretty_button(_("remove %(obj)s") % dict(obj=kind),
"big_mod_action", -2, "negative")}
${pretty_button(_("remove %(obj)s") % dict(obj=kind),
"big_mod_action", -1, "negative")}
%endif
%if getattr(thing, "approval_checkmark", None):