1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Toulouse, France
    Posts
    10
    Vote Rating
    0
    Squ36 is on a distinguished road

      0  

    Default Unanswered: Multi-line message with Ext.Msg.alert() ?

    Unanswered: Multi-line message with Ext.Msg.alert() ?


    Hello,

    I've just migrated my app from Ext 4.1.0 to 4.1.1, and I saw that a lot of my alert messages weren't displayed properly anymore. These messages are HTML, and I use Ext.Msg.alert() or Ext.Msg.show() to display them.

    All the tags are working, except <br> tags. I tried to replace them with \n, \u000A, and <br/>, but nothing works .

    Anyone can offer me a solution ?
    Thanks !

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai, India
    Posts
    71
    Answers
    7
    Vote Rating
    2
    a.premkumar is on a distinguished road

      0  

    Default


    Quote Originally Posted by Squ36 View Post
    Hello,

    I've just migrated my app from Ext 4.1.0 to 4.1.1, and I saw that a lot of my alert messages weren't displayed properly anymore. These messages are HTML, and I use Ext.Msg.alert() or Ext.Msg.show() to display them.

    All the tags are working, except <br> tags. I tried to replace them with \n, \u000A, and <br/>, but nothing works .

    Anyone can offer me a solution ?
    Thanks !
    Have you tried <p> tag? Try placing it in front of the char where you think you need a line break. I think it works.

    Regards,
    Premkumar. A

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Toulouse, France
    Posts
    10
    Vote Rating
    0
    Squ36 is on a distinguished road

      0  

    Default


    Quote Originally Posted by a.premkumar View Post
    Have you tried <p> tag? Try placing it in front of the char where you think you need a line break. I think it works.

    Regards,
    Premkumar. A
    Hi,

    Thanks for your solution, but I've tried it and it doesn't work. From what i could gather from various Ext topics, the text in the message box is encased in a <span> tag (inline tag). This means that no block type tag can be used inside it (either it will be stripped by a cleaning functon, or it will simply not render).

    Thanks anyway

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai, India
    Posts
    71
    Answers
    7
    Vote Rating
    2
    a.premkumar is on a distinguished road

      0  

    Default


    Well I use 4.1.1. I tried that before replying thread. It worked for me though.

Thread Participants: 1

Tags for this Thread

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