projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dcf355
)
Pman.Tab.AdminCompanies.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 08:14:23 +0000
(16:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 08:14:23 +0000
(16:14 +0800)
Pman.Tab.AdminCompanies.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminCompanies.js
b/Pman.Tab.AdminCompanies.js
index
6ae8c14
..
794d1f4
100644
(file)
--- a/
Pman.Tab.AdminCompanies.js
+++ b/
Pman.Tab.AdminCompanies.js
@@
-95,7
+95,9
@@
Pman.Tab.AdminCompanies = new Roo.util.Observable({
beforeload : function (_self, o)
{
o.params = o.params || {};
- o.params['query[name]'] = _this.searchBox.getValue();
+ if (_this.searchBox) {
+ o.params['query[name]'] = _this.searchBox.getValue();
+ }
}
},
remoteSort : true,