Revision: 2304
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2304&view=rev
Author:   cimorrison
Date:     2012-06-25 16:22:16 +0000 (Mon, 25 Jun 2012)
Log Message:
-----------
Fixed bug causing the wrong custom validation message to be used by the browser 
when validating form fields

Modified Paths:
--------------
    mrbs/trunk/web/edit_entry.php

Modified: mrbs/trunk/web/edit_entry.php
===================================================================
--- mrbs/trunk/web/edit_entry.php       2012-06-25 15:47:27 UTC (rev 2303)
+++ mrbs/trunk/web/edit_entry.php       2012-06-25 16:22:16 UTC (rev 2304)
@@ -1196,7 +1196,7 @@
         e.target.setCustomValidity("");
         if (!e.target.validity.valid)
         {
-          e.target.setCustomValidity(validationMessages.vocab[key]);
+          
e.target.setCustomValidity(validationMessages.vocab[$(e.target).attr('id')]);
         }
       });
       $(field).filter('select, [type="checkbox"]').bind('change', function(e) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to