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

index 0dbe7e0..ef14834 100644 (file)
                                             if(!res.success){
                                                 return;
                                             }
-                                            Roo.log(this);
+                                            
+                                            var width = Roo.example.Editor[target].parent.getWidth();
+                                            
+                                            Roo.example.Editor[target].setValue((baseURL + '/Images/Thumb/' + width + '/' + f['image'][d]));
 //                                            _this.explainationLogoPreview.el.attr('src', baseURL + '/Images/Thumb/250/' + res.data.id + '/' + res.data.filename);
 //
 //                                            _this.explainationLogoPreview.el.show();