PDA

View Full Version : [CLOSED] 2 History DOM elements with same id



manuelhitz
5 Mar 2012, 11:53 PM
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...



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":



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

mitchellsimoens
6 Mar 2012, 6:49 AM
Thanks for the report.

edspencer
16 Mar 2012, 3:35 PM
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