Import/Accounts.php
authorEdward <edward@roojs.com>
Wed, 4 Dec 2013 05:34:16 +0000 (13:34 +0800)
committerEdward <edward@roojs.com>
Wed, 4 Dec 2013 05:34:16 +0000 (13:34 +0800)
Pman.Tab.XtuplePurchaseRecv.bjs
Pman.Tab.XtuplePurchaseRecv.js

Pman.Tab.XtuplePurchaseRecv.bjs
Pman.Tab.XtuplePurchaseRecv.js

index 6c6cee7..24d2631 100644 (file)
@@ -45,7 +45,6 @@
                                 {
                                     "listeners": {
                                         "|render": "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.ppanel.active) {\n       this.footer.onClick('first');\n    }\n}",
-                                        "|rowdblclick": "function (_self, rowIndex, e)\n{\n    var r = _this.grid.ds.getAt(rowIndex);\n    \n    Pman.Dialog.XtuplePurchaseOrder.show( { pohead_id : r.data.pohead_id }, function() {\n        _this.grid.footer.onClick('refresh');\n    }); \n}\n",
                                         "cellclick": "function (_self, rowIndex, columnIndex, e)\n{\n    var di = _this.grid.getColumnModel().getDataIndex(columnIndex);\n    if(di == 'pohead_vouchered' || di == 'pohead_paid'){\n        return;\n    }\n    _this.rggrid.ds.load({});\n}",
                                         "celldblclick": "function (_self, rowIndex, columnIndex, e)\n{\n    var di = _this.grid.getColumnModel().getDataIndex(columnIndex);\n    if(di == 'pohead_vouchered' || di == 'pohead_paid'){\n        return;\n    }\n    \n    var r = _this.grid.ds.getAt(rowIndex);\n    \n    Pman.Dialog.XtuplePurchaseOrder.show( { pohead_id : r.data.pohead_id }, function() {\n        _this.grid.footer.onClick('refresh');\n    }); \n}"
                                     },
index 4f70c96..085dd61 100644 (file)
@@ -53,14 +53,6 @@ Pman.Tab.XtuplePurchaseRecv = new Roo.XComponent({
                                        this.footer.onClick('first');
                                     }
                                 },
-                                rowdblclick : function (_self, rowIndex, e)
-                                {
-                                    var r = _this.grid.ds.getAt(rowIndex);
-                                    
-                                    Pman.Dialog.XtuplePurchaseOrder.show( { pohead_id : r.data.pohead_id }, function() {
-                                        _this.grid.footer.onClick('refresh');
-                                    }); 
-                                },
                                 cellclick : function (_self, rowIndex, columnIndex, e)
                                 {
                                     var di = _this.grid.getColumnModel().getDataIndex(columnIndex);