1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    7
    Vote Rating
    0
    moedusa is on a distinguished road

      0  

    Default 0.33 beta 3 DomHelper fails to insert html with IE

    0.33 beta 3 DomHelper fails to insert html with IE


    Just got an error under IE6 (yui-ext-debug.js):

    Code:
        // build as innerHTML where available
        /** @ignore */
        function createHtml(o){
            var b = '';
            b += '<' + o.tag;    <<<<<< ln. 842 (tag is null or not an object)
    FF works as expected.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Can you post some code. It is saying that you didn't pass in a config object it looks like.

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    7
    Vote Rating
    0
    moedusa is on a distinguished road

      0  

    Default Not a bug

    Not a bug


    Jack, I am sorry my fault:

    Code:
      var sel   = dh.append(p2, {tag: 'select', id: this.getId()+'_ttb_lnk_target', cls: 'ttb_lnk_target', children: [
    		{tag: 'option', value: 'none', html:''},											
    		{tag: 'option', value: '_blank', html:'new window'},
    		{tag: 'option', value: '_self',  html:'same window'},   //<< comma
       ]});
    not a bug.

  4. #4
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Ah, the infamous comma!

Similar Threads

  1. DomHelper builds bad HTML for Select options in IE
    By tryanDLS in forum Ext 1.x: Bugs
    Replies: 8
    Last Post: 4 Jun 2008, 11:49 PM
  2. Can this be done? Copy, change and insert HTML frags?
    By Joche in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 20 Mar 2007, 3:53 AM
  3. DomHelper Template using tables (bug in ff & insert at t
    By aconran in forum Ext 1.x: Help & Discussion
    Replies: 14
    Last Post: 13 Mar 2007, 11:48 AM
  4. Dialog fails if defining HTML is loaded via UpdateManager
    By ggranum in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 21 Jan 2007, 11:31 AM
  5. Beta 2 is up
    By jack.slocum in forum Community Discussion
    Replies: 1
    Last Post: 3 Nov 2006, 6:25 AM

Thread Participants: 1