Ext version tested:
According to documentation, Ext.id() function takes only optional arguments. When both are omitted, prefix is defaulted to ''ext-element-" and sequence is provided by Ext.idSeed. Looks like when elements are created though, idSeed is not incremented accordingly. Because of that, a call to Ext.id() might return a reference to an already-existing element, instead of fresh one
Steps to reproduce the problem:
- Use test case below
- Ext.id() in console
- "ext-element-1" is returned, which is actually the <head>
fullscreen : true,
html : 'Hello from your first Sencha Touch App made by Sencha Fiddle.'