mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-13 18:17:07 +02:00
Silence some warnings, mostly about attributes
This commit is contained in:
@ -49,6 +49,12 @@ var et2_inputWidget = et2_valueWidget.extend(et2_IInput, {
|
||||
"type": "string",
|
||||
"default": et2_no_init,
|
||||
"description": "Used internally to store the validation error that came from the server."
|
||||
},
|
||||
"tabindex": {
|
||||
"name": "Tab index",
|
||||
"type": "integer",
|
||||
"default": et2_no_init,
|
||||
"description": "Specifies the tab order of a widget when the 'tab' button is used for navigating."
|
||||
}
|
||||
},
|
||||
|
||||
@ -235,6 +241,13 @@ var et2_inputWidget = et2_valueWidget.extend(et2_IInput, {
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Set tab index
|
||||
*/
|
||||
set_tabindex: function(index) {
|
||||
jQuery(this.getInputNode()).attr("tabindex", index);
|
||||
},
|
||||
|
||||
getInputNode: function() {
|
||||
return this.node;
|
||||
},
|
||||
|
Reference in New Issue
Block a user