Results 1 to 4 of 4

Thread: Ext.Msg.alert with 4 buttons

  1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    81

    Default Ext.Msg.alert with 4 buttons

    Ext.Msg.alert('Success', Added to your List');
    is showing all four buttons.

    see the screenshot.
    what can be wrong here.


    edit thread:

    getting an error "'null' is null or not an object" in line below
    sh = Ext.get(Ext.DomHelper.insertHtml("beforeBegin", document.body.firstChild, markup));

    line 15985.
    in
    Ext.Shadow.Pool = function(){


    Attached Images Attached Images

  2. #2
    Sencha Premium User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891

    Default

    Are you sure that line of code produces the given screenshot? the screenshot contains some part of progressbar in addition to the 4 buttons

    Are you using current Ext 3.1.1? Could you provide a working testpage for further investigation

  3. #3
    Sencha User
    Join Date
    Sep 2009
    Posts
    81

    Default

    thanks for reply.

    I noticed there is a js error.

    getting an error "'null' is null or not an object" in line below
    sh = Ext.get(Ext.DomHelper.insertHtml("beforeBegin", document.body.firstChild, markup));

    line 15985.
    in
    Ext.Shadow.Pool = function(){


    I am using
    Ext JS Library 3.0.0

  4. #4
    Sencha Premium User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891

    Default

    when is the Ext.msg.alert being called? The usual way within Ext.onready (i hope so).


    otherwise i guess you are calling it before the html page has finished loading (thus the body is not available)

    Please provide a full little testpage, the mistake should lie somewhere else than within the Message-function. Beside that i strongly recommend you use the current Ext 3.1.1. Many things have been fixed since Ext 3.0.0

Posting Permissions

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