1. #1
    Ext User
    Join Date
    Mar 2007
    Vote Rating
    andrzejR is on a distinguished road


    Default BasicDialog | addKeyListener problem

    BasicDialog | addKeyListener problem

    Hi Jack,

    first of all thank you very much for your great work ! It's just amazing what you have put together here.

    I had some problems with fixedCenter in BasicDialog, similar to what is described here : http://www.yui-ext.com/forum/viewtopic.php?t=583. So I downloaded 14. Dec version of yui-ext and it works just great now, but.. Now

    dialog.addKeyListener(27, dialog.hide, dialog);
    somehow doesn't work anymore ... escape key is not responding and it WAS working before. I don't have too much time to get down the code to check it cause this functionality is not crucial for me but I just wanted to let you know.

    Andrzej Rumpfelt

    p.s. there seems to be a problem with "Build Your Own" tool.. after hitting "Build" you get some bad php errors for file_get_contents .. looks like it can't find the files it needs.

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Vote Rating
    tryanDLS is on a distinguished road



    You need to do setDefaultButton() on one of the dialog's buttons - there have been several threads/examples of this the last couple of days.

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Tampa, FL
    Vote Rating
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough



    The dialog's key listeners were moved from the document to the dialog element in the latest release. This means something in the dialog has to have the focus in order to receive keys. The reason for the change was to allow multiple dialogs to coexist.

    "Build your own" is fixed. Sorry about that.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum

Similar Threads

  1. BasicDialog and IE .. greyed out problem
    By alanwilliamson in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 21 Dec 2006, 4:28 AM
  2. addKeyListener doesn't work for BasicDialog?
    By corey.gilmore in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 14 Dec 2006, 4:26 PM
  3. How to use addKeyListener?
    By lilolilo in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 2 Dec 2006, 4:54 AM
  4. BasicDialog problem with Firefox
    By chris in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 18 Nov 2006, 12:21 PM
  5. addKeyListener Opera form return key problem
    By vtswingkid in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 17 Nov 2006, 8:27 PM

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi