mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02: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,
|
"default": et2_no_init,
|
||||||
"description": "Field width"
|
"description": "Field width"
|
||||||
},
|
},
|
||||||
"maxLength": {
|
"maxlength": {
|
||||||
"name": "Maximum length",
|
"name": "Maximum length",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": et2_no_init,
|
"default": et2_no_init,
|
||||||
@ -63,7 +63,7 @@ var et2_textbox = et2_inputWidget.extend({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
legacyOptions: ["size", "maxLength"],
|
legacyOptions: ["size", "maxlength"],
|
||||||
|
|
||||||
init: function() {
|
init: function() {
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
@ -127,7 +127,7 @@ var et2_textbox = et2_inputWidget.extend({
|
|||||||
* Set maximum characters allowed
|
* Set maximum characters allowed
|
||||||
* @param _size Max characters allowed
|
* @param _size Max characters allowed
|
||||||
*/
|
*/
|
||||||
set_maxLength: function(_size) {
|
set_maxlength: function(_size) {
|
||||||
if (typeof _size != 'undefined' && _size != this.input.attr("maxlength"))
|
if (typeof _size != 'undefined' && _size != this.input.attr("maxlength"))
|
||||||
{
|
{
|
||||||
this.maxLength = _size;
|
this.maxLength = _size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user