lundi 30 mars 2015

EmberData unloadAll doesn't work on IE8. Works on Chrome/FireFox

Thanks in advance for the help !


I am having a problem refreshing my model on IE8. (Works on Chrome Chrome and Firefox) I run this code to refresh my model with a request to the database using my adapter. Through this command I am unloading the data of the model and reloading it again to display it to the user:



var type = self.controller.get('model').type;

this.controller.get('model').get('store').unloadAll(type);
this.controller.get('model').get('store').fetchAll(type);


No Javascript errors. I have looked for a solution but not a clue about it. Any idea?


Thanks !





Aucun commentaire:

Enregistrer un commentaire