Pman.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 1 Apr 2012 07:38:02 +0000 (15:38 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 1 Apr 2012 07:38:02 +0000 (15:38 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index 1d64736..6284d4a 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -919,7 +919,7 @@ Pman = new Roo.Document(
            // new code should use PART name, and matching permissions.
             if (this.permname && this.permname.length) {
                 if (Pman.hasPerm(this.permname, 'S')) {
-                   this.module.add(this.parent.layout, this.region);    
+                   this.add(this.parent.layout, this.region);    
                 }
                 return;
             }