examples/bootstrap/Editor.html
authorEdward <edward@roojs.com>
Mon, 16 Feb 2015 02:53:03 +0000 (10:53 +0800)
committerEdward <edward@roojs.com>
Mon, 16 Feb 2015 02:53:03 +0000 (10:53 +0800)
examples/bootstrap/Editor.html

index bf82b2c..0dbe7e0 100644 (file)
                                         success : function(r)
                                         {
                                             var res = Roo.decode(r.responseText);
-                                            Roo.log('upload completed');
-                                            Roo.log(res);
+                                            
+                                            if(!res.success){
+                                                return;
+                                            }
+                                            Roo.log(this);
 //                                            _this.explainationLogoPreview.el.attr('src', baseURL + '/Images/Thumb/250/' + res.data.id + '/' + res.data.filename);
 //
 //                                            _this.explainationLogoPreview.el.show();