7 Replies Latest reply on Nov 28, 2009 8:01 AM by levancho

    line being called before the removed event is heard by the component.

    nikos101 Level 2

      In this code

       

         
                     if (dealsCanvas.getChildByName("privileges"))
                      {
                          dealsCanvas.removeChild(privileges);
                      }
                   
                      isInitialApplicationSetup=false;

       

       

      the line   isInitialApplicationSetup=false; is being called before the removed event is heard by the privileges component.

       

      Whats the best way to get round this?

       

      thanks