mardi 25 mars 2014

Changes to model are ignored?

Anyone see this before.




Code:





var myFoo = myComponent.getRecord();



myFoo.get('bar'); // gets value of say, 42.

myFoo.set('bar',1);

myFoo.get('bar'); // should return 1, but gives 42 instead.



Now if I do this this instead,




Code:





myFoo = myStore.getAt(0);



...



It then proceeds to store the changes. What.. the.. ?



Sencha Touch 2.3, Chrome evergreen OS X.



edit edit - .. doesn't seem to be related to page size. I'm befuddled and perplexed.




Aucun commentaire:

Enregistrer un commentaire