Roo.form.HtmlEditor.ToolbarContext.stores.js
authorEdward <edward@roojs.com>
Mon, 16 Sep 2013 04:10:30 +0000 (12:10 +0800)
committerEdward <edward@roojs.com>
Mon, 16 Sep 2013 04:10:30 +0000 (12:10 +0800)
Roo.form.HtmlEditor.ToolbarContext.stores.js

index 87420f8..e69de29 100644 (file)
@@ -1,41 +0,0 @@
-Roo.form.HtmlEditor.ToolbarContext.stores = {
-   
-   'font-family' :  {
-      
-            xtype : 'Store',
-             // load using HTTP
-            proxy: {
-               xtype : 'HttpProxy',
-               url: baseURL + '/Roo/Core_enum',
-               method: 'GET'
-            },
-            reader : {
-                xtype: 'JsonReader',
-                xns: Roo.data,
-                id : 'id',
-                root : 'data',
-                totalProperty : 'total',
-                
-                fields : [
-                    { name:'id','type':'int'},
-                    { name : 'val' , mapping: 'name'} ,
-                    { name:'display', mapping: 'display_name'}
-                ]
-            },
-           listeners : {
-               beforeload : function(st,o)
-               {
-                   // compnay myst be set..
-                    o.params.etype = 'HtmlEditor.font-family';
-                    o.params.active = 1;
-                    //o.params._requestMeta=0; // do not fetch meta..
-                    this.reader.metaFromRemote = 1;
-               },
-               loadexception : Pman.loadException
-           
-           },
-           sortInfo: {
-               field: 'display', direction: 'ASC'
-           }
-    } 
-};