Pman.Tab.MTrackMerger.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 06:10:16 +0000 (14:10 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 Sep 2011 06:10:16 +0000 (14:10 +0800)
Pman.Tab.MTrackMerger.js

index 45307b5..738df66 100644 (file)
@@ -159,18 +159,15 @@ Pman.Tab.MTrackMerger = new Roo.util.Observable({
                                     {
                                         xtype: 'Button',
                                         xns: Roo.Toolbar,
-                                        text : "Add",
-                                        cls : 'x-btn-text-icon',
-                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
                                         listeners : {
                                             click : function()
                                             {
-                                                if (!_this.dialog) return;
-                                                _this.dialog.show( { id : 0 } , function() {
-                                                    _this.grid.footer.onClick('first');
-                                               }); 
+                                               
                                             }
-                                        }
+                                        },
+                                        cls : 'x-btn-text-icon',
+                                        text : "Add",
+                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif'
                                     },
                                     {
                                         xtype: 'Button',