examples/bootstrap/Editor.html
authorEdward <edward@roojs.com>
Fri, 13 Feb 2015 10:06:18 +0000 (18:06 +0800)
committerEdward <edward@roojs.com>
Fri, 13 Feb 2015 10:06:18 +0000 (18:06 +0800)
examples/bootstrap/Editor.html

index e451fee..36debf4 100644 (file)
                         
                         for (var d in f['image']){
                             var width = Roo.example.Editor[d].parent.getWidth();
-                            Roo.log(width);
-                            continue;
-                            Roo.example.Editor[d].setValue(baseURL + '/Images/Thumb')
-                            Roo.example.Editor[d].setValue(f['image'][d])
+                            Roo.example.Editor[d].setValue(baseURL + '/Images/Thumb/' + width + '/' + f['image'][d]);
                         }
                         
                     }