PDA

View Full Version : “aw snap” error message using extjs 4.0



Anthony.Hall
6 Feb 2012, 12:58 PM
I have the following code. In my controller. This works fine in ie 9 and firefox. However i get "aw snap!. Something went wrong ..." error message in chrome.



init: function () {
this.control({
,
'jobdetail button[action=save]': {
click: this.onJobUpdate
}
});
},


onLaunch: function () {


var jobsStore = this.getJobsStore();
jobsStore.load({
callback: this.onJobsLoad,
scope: this
});




},


onJobUpdate: function (selection) {


var form = Ext.getCmp('jobForm');
var record = form.getRecord();
var values = form.getValues();




record.set(values);
}

mitchellsimoens
6 Feb 2012, 1:24 PM
That is Chrome's way of telling you that the tab crashed. In that code, there isn't anything that should crash it.