examples/bootstrap/Editor.html
authorEdward <edward@roojs.com>
Fri, 13 Feb 2015 08:07:30 +0000 (16:07 +0800)
committerEdward <edward@roojs.com>
Fri, 13 Feb 2015 08:07:30 +0000 (16:07 +0800)
examples/bootstrap/Editor.html

index c292ed4..a51f27f 100644 (file)
             Roo.Ajax.request({
                 url : baseURL + '/editor/data.php',
                 method: 'GET',
-                success : function(r)
+                success : function(res)
                 {
-                    Roo.log(r);
+                    if(!res.success){
+                        return;
+                    }
+                    
+                    Roo.log(Roo.example.Editor.panel);
                 }
             });
         });