Permalink
Browse files

Disabled email validation

  • Loading branch information...
1 parent 63386c5 commit da37ec7a3e7b4699ed60b50f11c262f7a9f6e78e @fd fd committed Apr 30, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 public/javascripts/application.js
@@ -17,8 +17,9 @@ var switchContent = (function(sender){
});
var validateEmail = (function(address){
- var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
- !(reg.test(address) == false);
+ // var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
+ // !(reg.test(address) == false);
+ return true;
});
/*

0 comments on commit da37ec7

Please sign in to comment.