mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-28 14:45:28 +00:00
Monotone-Parent: 9af7f3b786a8f22f5ddae91d7aba838abbd724d5
Monotone-Revision: 6303f532fa4bb3c36fe2f298f62f659c4fc71b18 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-04-18T19:23:09
This commit is contained in:
@@ -47,6 +47,15 @@ var removeFolderRequestCount = 0;
|
||||
// Email validation regexp
|
||||
var emailRE = /^([\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+\.)*[\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+@((((([a-z0-9]{1}[a-z0-9\-]{0,62}[a-z0-9]{1})|[a-z])\.)+[a-z]{2,6})|(\d{1,3}\.){3}\d{1,3}(\:\d{1,5})?)$/i;
|
||||
|
||||
function clickEventWrapper(functionRef) {
|
||||
function button_clickEventWrapper(event) {
|
||||
preventDefault(event);
|
||||
return functionRef(event);
|
||||
}
|
||||
|
||||
return button_clickEventWrapper;
|
||||
}
|
||||
|
||||
|
||||
function createElement(tagName, id, classes,
|
||||
attributes, htmlAttributes,
|
||||
|
||||
Reference in New Issue
Block a user