0

I am getting this error, in my browser console, after running "sencha app run native testing":

Uncaught TypeError: Object [object Object] has no method 'getId'

When I look at the code in my browser I see this:

enter image description here

When I look at my own code for itemId of "foo3" I have this:

enter image description here

Could anyone tell me what I am doing wrong?

Sencha cmd 5.1.1.39 Sencha touch 2.4.1 Running with cordova 4.2.0

Thank you!

Dawson Loudon
  • 6,029
  • 2
  • 27
  • 31
now_world
  • 940
  • 7
  • 21
  • 56

1 Answers1

0

I finally rewrote the code so that I didn't have var view = Ext.create('.... instead I had Ext.define('... then I added:

 `var owningNavView = list.up('main'); 
  owningNavView.push({
  xtype : 'barFoo...'  });`

For sliding to the next card.

After that everything ran well with no errors.

now_world
  • 940
  • 7
  • 21
  • 56