Community
Participate
Working Groups
*/
_onEnabled : function( evt ) {
qx.ui.core.Widget.flushGlobalQueues();
if( evt.getData() ) {
// if( evt.getData() ) {
this._uploadField._button._input.style.height
// this._uploadField._button._input.style.height
= this._uploadField.getHeight();
// = this._uploadField.getHeight();
} else {
// } else {
this._uploadField._button._input.style.height = "0px";
// this._uploadField._button._input.style.height = "0px";
}
// }
},
/*
* despite the hidefocus style settings.
_onFocus : function( evt ) {
var input = this._uploadField._button._input;
// var input = this._uploadField._button._input;
this._uploadField._button._input.onblur = function() {
// this._uploadField._button._input.onblur = function() {
input.onblur = null;
// input.onblur = null;
input.onfocus = function() { input.blur(), input.onfocus = null };
// input.onfocus = function() { input.blur(), input.onfocus = null };
};
// };
// TODO [fappel]: would a property be the better solution?