}
//this.el.focus();
},
- onLoadException : function(){
+ // private
+ onLoadException : function()
+ {
this.collapse();
- Roo.MessageBox.alert("Error loading",this.store.reader.jsonData.errorMsg);
-
-
+ Roo.log(this.store.reader.jsonData);
+ if (this.store && typeof(this.store.reader.jsonData.errorMsg) != 'undefined') {
+ Roo.MessageBox.alert("Error loading",this.store.reader.jsonData.errorMsg);
+ }
},