Commit 24d4f124 authored by Vincent Pelletier's avatar Vincent Pelletier

erp5_jquery_plugin_validation: Avoid collision with input type.

jquery.validate enables checkers which have the name of an
input field type, which just cannot work with password validator
as it has a mandatory parameter, and is not intended anyway.
parent 27d0bb89
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts92644697.83</string> </value>
<value> <string>ts92828861.19</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -370,7 +370,7 @@ PasswordValidator.prototype.getScore = function (value, tracer) {\n
};\n
\n
if ($.hasOwnProperty("validator")) {\n
$.validator.addMethod("password", function (value, element, params) {\n
$.validator.addMethod("passwordMetter", function (value, element, params) {\n
"use strict";\n
var metter,\n
/* use untrimmed value */\n
......@@ -420,7 +420,7 @@ if ($.hasOwnProperty("validator")) {\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>13246</int> </value>
<value> <int>13252</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
5
\ No newline at end of file
6
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment