- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 28 Feb 2011 21:32:26 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/boilerplate In directory hutz:/tmp/cvs-serv6145 Modified Files: middle-w3c-feedback Log Message: block more spam Index: middle-w3c-feedback =================================================================== RCS file: /sources/public/html5/boilerplate/middle-w3c-feedback,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- middle-w3c-feedback 14 Dec 2010 02:01:10 -0000 1.1 +++ middle-w3c-feedback 28 Feb 2011 21:32:24 -0000 1.2 @@ -33,7 +33,10 @@ change rapidly and make your feedback harder to understand.</p> <script> function checkFeedbackForm(form) { - if (form.elements.text.value.match(/ [^ ]+ [^ ]+ [^ ]+ [^ ]+ /)) { + if (form.elements.text.value.match(/^Please enter your feedback, carefully/)) { + alert('Please enter your feedback, explaining what is wrong. Thanks!'); + return true; + } else if (form.elements.text.value.match(/ [^ ]+ [^ ]+ [^ ]+ [^ ]+ /)) { form.action = "http://www.whatwg.org/specs/web-apps/current-work/file-bug.cgi"; return true; } else {
Received on Monday, 28 February 2011 21:32:29 UTC