Pman.Tab.AdminProjectManager.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:27:10 +0000 (15:27 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:27:10 +0000 (15:27 +0800)
Pman.Tab.AdminProjectManager.js

index d59f7fa..ebc6999 100644 (file)
@@ -45,7 +45,7 @@ Pman.Tab.AdminProjectManager = new Roo.util.Observable({
                         listeners : {
                             activate : function() {
                                 _this.panel = this;
-                                _this.dialog = Pman.Dialog.CoreProject;
+                                _this.dialog = Pman ? Pman.Dialog.CoreProject : false;
                                 if (_this.grid) {
                                     _this.grid.footer.onClick('first');
                                 }