What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

If I go to the suggested edits page, press reject on one of them, it shows up a dialog asking for the rejection reason. Then I run this in my browser's Javascript console

$("input").each(function(){$(this).removeAttr("disabled");});

It enables the reject button and I can press the reject button and it successfully rejects the edit without me actually having to give a rejection reason.

The rejection should be validated by the server so that a rejection reason is actually required in order to successfully reject a suggested edit.

share|improve this question
1  
You can also just inspect the element and remove the disabled="disabled". Same thing. Either way, this is hilarious! Ohhhh, I wonder if I can edit the form to submit a rejection reason with my approval command. Let's try!!! –  animuson Mar 28 '12 at 0:05
1  
If you can turn this into a userscript to let me type a paragraph into the rejection reason, that'd be super. :) –  sarnold Mar 28 '12 at 0:11
    
@sarnold: I don't get it. You already have that capability with the "Custom" rejection reason. –  Robert Harvey Mar 28 '12 at 0:16
5  
@Robert: Perhaps I should have said "Novel" instead of "Paragraph". I find I usually run out of space before I finish my sen –  sarnold Mar 28 '12 at 0:19
1  
Sadly, there will be no rejection novels: "An error has occurred when trying to reject - please try again" –  Jeremy Banks Mar 28 '12 at 0:38
    
Thanks for looking, @Jeremy. :) –  sarnold Mar 28 '12 at 1:55
1  
Hmm, I have the same problem as @sarnold. I always just assumed I was the only one... Too bad it validates precisely the wrong thing. –  Cody Gray Mar 28 '12 at 3:16

1 Answer 1

up vote 10 down vote accepted

You seem to be using JavaScript to avoid clicking a button, are you sure that is what you want to do?

share|improve this answer
1  
to be deployed later –  waffles Apr 12 '12 at 4:23
7  
Where's the "yes, I'm sure" button? –  Cody Gray Apr 12 '12 at 4:48
5  
@TheEstablishment you need to use JavaScript to add it –  waffles Apr 12 '12 at 4:49
    
needz moar clippy. –  Robert Harvey Apr 12 '12 at 15:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .