Pman.Tab.CoreOAuthClient.bjs
authorEdward <edward@roojs.com>
Wed, 25 Jun 2014 03:50:16 +0000 (11:50 +0800)
committerEdward <edward@roojs.com>
Wed, 25 Jun 2014 03:50:16 +0000 (11:50 +0800)
Pman.Tab.CoreOAuthClient.js

Pman.Tab.CoreOAuthClient.bjs
Pman.Tab.CoreOAuthClient.js

index c8d5fc9..8f33379 100644 (file)
@@ -38,7 +38,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}",
+                                        "|render": "function() \n{\n    _this.grid = this; \n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}",
                                         "beforeedit": "function (e)\n{\n    var r = e.record.data.poitem_qty_received * 1;\n    \n    if(r > 0){\n        Roo.MessageBox.alert(\"Error\", \"This item has been receipted\");\n        return false;\n    }\n    \n    var status = _this.form.findField('pohead_status').getValue();\n    \n    if(status == 'C'){\n        Roo.MessageBox.alert(\"Error\", \"This PO has been closed\");\n        return false;\n    }\n    \n    \n}"
                                     },
                                     "*prop": "grid",
index 78a0f2e..2b8f920 100644 (file)
@@ -48,7 +48,6 @@ Pman.Tab.CoreOAuthClient = new Roo.XComponent({
                                 render : function() 
                                 {
                                     _this.grid = this; 
-                                    //_this.dialog = Pman.Dialog.FILL_IN
                                     if (_this.panel.active) {
                                        this.footer.onClick('first');
                                     }