|
Lines 32-37
Link Here
|
| 32 |
this.getCaptionBar().setWidth( "100%" ); |
32 |
this.getCaptionBar().setWidth( "100%" ); |
| 33 |
// [if] Listen for DOM event instead of qooxdoo event - see bug 294846. |
33 |
// [if] Listen for DOM event instead of qooxdoo event - see bug 294846. |
| 34 |
this.removeEventListener( "mousedown", this._onwindowmousedown ); |
34 |
this.removeEventListener( "mousedown", this._onwindowmousedown ); |
|
|
35 |
this.addEventListener( "create", this._onCreate, this ); |
| 35 |
this.__onwindowmousedown |
36 |
this.__onwindowmousedown |
| 36 |
= qx.lang.Function.bind( this._onwindowmousedown, this ); |
37 |
= qx.lang.Function.bind( this._onwindowmousedown, this ); |
| 37 |
}, |
38 |
}, |
|
Lines 150-160
Link Here
|
| 150 |
}, |
151 |
}, |
| 151 |
|
152 |
|
| 152 |
members : { |
153 |
members : { |
| 153 |
_applyElement : function( value, old ) { |
154 |
_onCreate : function( evt ) { |
| 154 |
this.base( arguments, value, old ); |
|
|
| 155 |
qx.html.EventRegistration.addEventListener( this.getElement(), |
155 |
qx.html.EventRegistration.addEventListener( this.getElement(), |
| 156 |
"mousedown", |
156 |
"mousedown", |
| 157 |
this.__onwindowmousedown ); |
157 |
this.__onwindowmousedown ); |
|
|
158 |
this.removeEventListener( "create", this._onCreate, this ); |
| 158 |
}, |
159 |
}, |
| 159 |
|
160 |
|
| 160 |
// [if] Override to prevent the new open shell to automaticaly become |
161 |
// [if] Override to prevent the new open shell to automaticaly become |