forked from 0x2620/oxjs
in derivatives of Ox.List, make sure gainFocus, hasFocus and loseFocus work correctly
This commit is contained in:
parent
07b44e20c8
commit
9790e7d6c6
4 changed files with 45 additions and 4 deletions
|
|
@ -899,6 +899,10 @@ Ox.TextList = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
that.hasFocus = function() {
|
||||
return that.$body.hasFocus();
|
||||
};
|
||||
|
||||
that.loseFocus = function() {
|
||||
that.$body.loseFocus();
|
||||
return that;
|
||||
|
|
@ -925,7 +929,6 @@ Ox.TextList = function(options, self) {
|
|||
}
|
||||
|
||||
that.size = function() {
|
||||
Ox.Log('List', 'SIZE FUNCTION CALLED')
|
||||
setWidth();
|
||||
that.$body.size();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue