projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e35829
)
Pman.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 08:41:11 +0000
(16:41 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 08:41:11 +0000
(16:41 +0800)
Pman.js
patch
|
blob
|
history
diff --git
a/Pman.js
b/Pman.js
index
2196608
..
b50420d
100644
(file)
--- a/
Pman.js
+++ b/
Pman.js
@@
-918,10
+918,10
@@
Pman = new Roo.Document(
// honour DEPRICATED permname setings..
// new code should use PART name, and matching permissions.
if (this.permname && this.permname.length) {
- if (Pman.hasPerm(this.permname, 'S')) {
- this.add(this.parent.layout, this.region);
+ if (
!
Pman.hasPerm(this.permname, 'S')) {
+ return;
}
- return;
+
}
this.add(this.parent.layout, this.region);
this.el = this.layout;