Mar 05, 2014, 1:55 PM
[CLOSED] Bug on the callout component
Hello support
Great job on the callout component, really like, it looks nice and very easy to use :-)
On to the subject :-)
There is a bug on the callout component if you create a callout and what set the property "CloseOnOutsideClickand" to true or have set the trigger to "hover" and then attach it on a button or any other widget.
At first the callout works as entended, it shows and looks nice.. :-)
but when you destroy the button or widget the callout does get destroyed
but the OnDestroy event on the callout fails
Best regards
Akpenob
Great job on the callout component, really like, it looks nice and very easy to use :-)
On to the subject :-)
There is a bug on the callout component if you create a callout and what set the property "CloseOnOutsideClickand" to true or have set the trigger to "hover" and then attach it on a button or any other widget.
At first the callout works as entended, it shows and looks nice.. :-)
but when you destroy the button or widget the callout does get destroyed
but the OnDestroy event on the callout fails
onDestroy:function(){if(this.trigger=="hover"||this.closeOnOutsideClick){Ext.getDoc().un('mousedown',me.onDocMouseDown,this);}
The error i get is "me" is undefinedBest regards
Akpenob
Last edited by Daniil; Mar 06, 2014 at 10:32 AM.
Reason: [CLOSED]