Pman.Tab.XtupleCurrency.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 11:06:18 +0000 (19:06 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 11:06:18 +0000 (19:06 +0800)
Pman.Tab.XtupleCurrency.js

Pman.Tab.XtupleCurrency.bjs
Pman.Tab.XtupleCurrency.js

index abacb28..0fd4c01 100644 (file)
                                                     "xtype": "Fill"
                                                 },
                                                 {
-                                                    "text": "Add",
-                                                    "xtype": "Button",
-                                                    "cls": "x-btn-text-icon",
-                                                    "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
                                                     "listeners": {
                                                         "|click": "function()\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( { id : 0 } , function() {\n        _this.grid.footer.onClick('first');\n   }); \n}\n"
                                                     },
+                                                    "cls": "x-btn-text-icon",
+                                                    "text": "Get this months rates",
+                                                    "xtype": "Button",
+                                                    "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
                                                     "|xns": "Roo.Toolbar"
                                                 }
                                             ]
index f1c2ebe..72e9534 100644 (file)
@@ -306,9 +306,6 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                     {
                                         xtype: 'Button',
                                         xns: Roo.Toolbar,
-                                        text : "Add",
-                                        cls : 'x-btn-text-icon',
-                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
                                         listeners : {
                                             click : function()
                                             {
@@ -317,7 +314,10 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                                     _this.grid.footer.onClick('first');
                                                }); 
                                             }
-                                        }
+                                        },
+                                        cls : 'x-btn-text-icon',
+                                        text : "Get this months rates",
+                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif'
                                     }
                                 ]
                             },