Roo/form/ComboBox.js
authorMichael <michael@roojs.com>
Mon, 16 Mar 2015 05:00:56 +0000 (13:00 +0800)
committerMichael <michael@roojs.com>
Mon, 16 Mar 2015 05:00:56 +0000 (13:00 +0800)
Roo/form/ComboBox.js

index 98d26d8..734a99e 100644 (file)
@@ -607,9 +607,9 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
     {
         this.collapse();
         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);
-        // }
+        if (this.store && typeof(this.store.reader.jsonData.errorMsg) != 'undefined') {
+            Roo.MessageBox.alert("Error loading",this.store.reader.jsonData.errorMsg);
+        }
         
         
     },