Pman.Tab.AdminContacts.bjs
authorAlan Knowles <alan@akbkhome.com>
Mon, 17 Jan 2011 05:27:54 +0000 (13:27 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 17 Jan 2011 05:27:54 +0000 (13:27 +0800)
Pman.Tab.AdminContacts.bjs

index 431d464..550d3d0 100644 (file)
                                     "listeners": {
                                         "render": "function (_self)\n{\n    _this.searchBox = _self;\n}",
                                         "show": "function (_self,e)\n{\n    if (e.getCharCode() != 13) {\n        return;\n    }\n    _this.grid.footer.onClick('first');\n}",
-                                        "specialkey": "function (_self, e)\n{\n  if (e.getKeyCode() == 13) {\n    _this.grid.footer.onClick('first');\n  }\n}"
+                                        "specialkey": "function (_self, e)\n{\n  if (e.getKey() == 13) {\n    _this.grid.footer.onClick('first');\n  }\n}"
                                     },
                                     "xtype": "TextField",
                                     "|xns": "Roo.form"