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

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