Hybrid View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    53
    Vote Rating
    0
    evs.saad is on a distinguished road

      0  

    Default Prevent two windows to open

    Prevent two windows to open


    Hi,
    I have an add button and if the user clicks on the add button a new screen is open in a popup. I am having the issue that if the user click on the add button twice two popups appear and the design is disturbed. What I want to do is to prevent the popup to open for the second time. Is there any way I can prevent the popup to be displayed two times. Thanks in advance.

  2. #2
    Ext GWT Premium Member icfantv's Avatar
    Join Date
    Sep 2011
    Location
    Superior, CO
    Posts
    411
    Vote Rating
    21
    icfantv will become famous soon enough icfantv will become famous soon enough

      0  

    Default


    Yes, in the event handler for the button, the SelectHandler, disable the button immediately.

Thread Participants: 1