Advertisement
Guest User

Untitled

a guest
Feb 18th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. I posted a question on Meta about this, but a mod pointed out that it
  2. is probably best emailed to you.
  3.  
  4. The problem is that your AJAX response for review audits identifies
  5. the review as an audit, so a simple script such as:
  6.  
  7. $(document).ajaxComplete(function(e, xhr, options){
  8. var response = JSON.parse(xhr.responseText);
  9. if(response.isAudit)
  10. alert("Watch out! This is an audit!");
  11. });
  12.  
  13. if used as a bookmark or userscript, can identify all audits in a review
  14. queue. It can even be modified to skip all audit review tasks. This is
  15. more important than it was before, particularly since you've
  16. implemented review suspensions.
  17.  
  18. Shouldn't there be a way to send data on whether the review was an
  19. audit in the AJAX request that happens after submission?
  20.  
  21. Thanks,
  22. Asad
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement