mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Silence warning about missing property
This commit is contained in:
parent
42ab2c046d
commit
d236f4531e
@ -36,7 +36,7 @@ var et2_textbox = et2_inputWidget.extend({
|
||||
"default": et2_no_init,
|
||||
"description": "Field width"
|
||||
},
|
||||
"maxLength": {
|
||||
"maxlength": {
|
||||
"name": "Maximum length",
|
||||
"type": "integer",
|
||||
"default": et2_no_init,
|
||||
@ -63,7 +63,7 @@ var et2_textbox = et2_inputWidget.extend({
|
||||
}
|
||||
},
|
||||
|
||||
legacyOptions: ["size", "maxLength"],
|
||||
legacyOptions: ["size", "maxlength"],
|
||||
|
||||
init: function() {
|
||||
this._super.apply(this, arguments);
|
||||
@ -127,7 +127,7 @@ var et2_textbox = et2_inputWidget.extend({
|
||||
* Set maximum characters allowed
|
||||
* @param _size Max characters allowed
|
||||
*/
|
||||
set_maxLength: function(_size) {
|
||||
set_maxlength: function(_size) {
|
||||
if (typeof _size != 'undefined' && _size != this.input.attr("maxlength"))
|
||||
{
|
||||
this.maxLength = _size;
|
||||
|
Loading…
Reference in New Issue
Block a user