projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6cecd45
)
Pman.js
author
Alan Knowles
<alan@roojs.com>
Thu, 6 Oct 2011 05:47:07 +0000
(13:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 6 Oct 2011 05:47:07 +0000
(13:47 +0800)
Pman.js
patch
|
blob
|
history
diff --git
a/Pman.js
b/Pman.js
index
95f36c5
..
efffccc
100644
(file)
--- a/
Pman.js
+++ b/
Pman.js
@@
-823,14
+823,14
@@
Pman = new Roo.Document(
// eg. Pman.Tab.AdminProjectManager
// matches permission Admin.ProjectManager
var np = modName.split('.').pop();
// eg. Pman.Tab.AdminProjectManager
// matches permission Admin.ProjectManager
var np = modName.split('.').pop();
-
obj.moduleOwner
= '';
+
modOwner
= '';
Roo.each(this.appModules, function(nm) {
if (np.substring(0,nm.length) == nm) {
Roo.each(this.appModules, function(nm) {
if (np.substring(0,nm.length) == nm) {
-
obj.module
Owner = nm;
+
mod
Owner = nm;
}
});
}
});
- if (
obj.moduleOwner
.length) {
- var permname =
obj.moduleOwner +'.' + np.substring(obj.module
Owner.length);
+ if (
modOwner
.length) {
+ var permname =
modOwner +'.' + np.substring(mod
Owner.length);
// we now have permission...
// obj.moduleOwner '.' lname
// we now have permission...
// obj.moduleOwner '.' lname