Results 1 to 2 of 2

Thread: Prevent two windows to open

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    53
    Vote Rating
    0
      0  

    Default 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
    413
    Vote Rating
    21
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •