[CLOSED] Bug on destroying callouts

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Bug on destroying callouts

    Hello support

    There seems to be a bug when you try destroy a component that has a callout component on it..

    if you create a tree with a callout component that has a delegate on, the callout object is created and if the callout is just shown once it will destroy correctly..

    but if the callout is not shown and you call destroy on the tree then the method "this.destroyCallouts();" is called, the method fails since "destroy" is undefined on the callout object, the objet seems to be a type of object and not that of a callout..

    the codeline number is 189 in the minified version of ext.axd

    this.destroyCallouts();
    this.callParent(arguments);},
           destroyCallouts:function(){
    if(this.callouts)
          {for(i=0;i<this.callouts.length;i++){
           var callout=this.callouts[i];
           if(!callout.isDestroyed){ //<-- this part is undefined aswell, it might be of the reson that the var callout is not of the type callout
              callout.destroyFromCmp=true;
              callout.destroy();  //<-- this part failed since the method destroy is undefined
           }
    }
    Best regards

    Akpenob
    Last edited by Daniil; Mar 25, 2014 at 4:59 PM. Reason: [CLOSED]

Similar Threads

  1. [1.0] ToolTip callouts disappearing
    By danielg in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 23, 2010, 12:09 AM

Tags for this Thread

Posting Permissions