Pman.Tab.XtupleReports.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:42:53 +0000 (20:42 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:42:53 +0000 (20:42 +0800)
Pman.Tab.XtupleReports.js

Pman.Tab.XtupleReports.bjs
Pman.Tab.XtupleReports.js

index 7988bdc..d82e328 100644 (file)
@@ -44,8 +44,7 @@
                             "items": [
                                 {
                                     "listeners": {
-                                        "|render": "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}",
-                                        "|rowdblclick": "function (_self, rowIndex, e)\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n        _this.grid.footer.onClick('first');\n    }); \n}\n"
+                                        "|render": "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}"
                                     },
                                     "*prop": "grid",
                                     "autoExpandColumn": "report_descrip",
index 4eff4be..1913708 100644 (file)
@@ -50,13 +50,6 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                                     if (_this.panel.active) {
                                        this.footer.onClick('first');
                                     }
-                                },
-                                rowdblclick : function (_self, rowIndex, e)
-                                {
-                                    if (!_this.dialog) return;
-                                    _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {
-                                        _this.grid.footer.onClick('first');
-                                    }); 
                                 }
                             },
                             autoExpandColumn : 'report_descrip',