Hmm, I see nothing wrong with your code. I just tried it myself and got
true all the time.
Either some other part of your code is causing trouble or something
really strange is happening.
What qooxdoo version are you using?
Does it work if you disable all code except for the part you pasted? If
it does, you can start eliminating pieces of code one at a time to find
which part is causing the issue...
Regards,
Marc
On 11/21/2012 04:04 PM, 689137 wrote:
> Marc,
>
> here is the part of the code related to close:
> =========================================================
> qx.Class.define("app.Application",
> {
> extend : qx.application.Standalone,
> members :
> {
> run_function : null,
> libmi : null,
> libmi_exit : null,
> _clean : false,
>
> close: function() {
>
> alert(this._clean);
> },
>
> main : function()
> {
> // HERE I CHANGE VARIABILE this._clean
> this._clean = true;
> this.addListener("close", this.close, this);
> ......................
> }
> });
> ==============================================
> When I run this code and close Firefox, I get a message that says False,
> when I should be getting True...
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Qooxdoo-Close-Event-tp7582052p7582063.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel