Roo.form.HtmlEditor.ToolbarContext.store.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 08:54:25 +0000 (16:54 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 08:54:25 +0000 (16:54 +0800)
Roo.form.HtmlEditor.ToolbarContext.store.js

index 4893ef0..8be9105 100644 (file)
@@ -15,8 +15,8 @@ Roo.form.HtmlEditor.ToolbarContext.stores = {
                 totalProperty : 'total',
                 fields : [
                     { name:'id','type':'int'},
-                    { name : 'name' , mapping: 'val'} ,
-                    { name:'display_name', mapping: 'display'}
+                    { name : 'val' , mapping: 'name'} ,
+                    { name:'display', mapping: 'display_name'}
                 ]
             },
            listeners : {