Results 1 to 4 of 4

Thread: Ext.Msg not working properly

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    86
    Answers
    2
    Vote Rating
    0
      0  

    Default Ext.Msg not working properly

    I am using Ext.Msg.prompt in controller as show below
    Code:
    Ext.Msg.prompt({            
                 title: 'Qty Left',             
                 message: 'Please enter quantity left:',             
                 width: 300,
                 buttons: Ext.MessageBox.OKCANCEL,
                 prompt: { maxlength: 180 },
                 fn: msgBoxQtyLeftHandler
             });
    but prompt is not shown. But when I refresh and then click, prompt is show. Not getting what is the problem.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    It's showing for me
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    86
    Answers
    2
    Vote Rating
    0
      0  

    Default

    Is shows when I refresh the page, but not without refreshing. Is there any thing wrong I am doing?

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    Your code worked on first page load for me.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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