Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    17
    Vote Rating
    0
    manuelhitz is on a distinguished road

      0  

    Default 2 History DOM elements with same id

    2 History DOM elements with same id


    in Ext.Application, History.fieldId and History.iframeId are undefined. A search for "iframeId" doesn't return any other reference in the sencha touch source code...

    Code:
    this.historyForm = Ext.getBody().createChild({
        id    : 'history-form',
        cls   : 'x-hide-display',
        style : 'display: none;',
        tag   : 'form',
        action: '#',
        children: [
            {
                tag: 'div',
                children: [
                    {
                        tag : 'input',
                        id  : History.fieldId,
                        type: 'hidden'
                    },
                    {
                        tag: 'iframe',
                        id : History.iframeId
                    }
                ]
            }
        ]
    });
    Generated HTML, note the 2 id="undefined":

    Code:
    <form id="history-form" class="x-hide-display" style="display: none;" action="#">
        <div>
            <input id="undefined" type="hidden">
            <iframe id="undefined"></iframe>
        </div>
    </form>

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,073
    Vote Rating
    854
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    All of our attention is currently focused on ST 2.x - really recommend you consider upgrading to that as it may be a while before we put out another 1.x patch
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

Thread Participants: 2