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

index 49ba77a..6db4162 100644 (file)
@@ -78,6 +78,16 @@ Pman.Tab.AdminProjectManager = new Roo.util.Observable({
                             },
                             autoExpandColumn : 'name',
                             loadMask : true,
+                             : function() {
+                                return [
+                                    [  'U' , "Project (Unconfirmed)" ],
+                                    [  'P' , "Project" ],
+                                    [  'C' , "Project (Closed)" ],
+                                    [  'N' , "Non-Project" ],
+                                    [  'X' , "Non-Project (Closed)" ]
+                            
+                                ];
+                            },
                             typeToString : function(v)
                             {
                                 var ar = this.getTypes();
@@ -89,9 +99,6 @@ Pman.Tab.AdminProjectManager = new Roo.util.Observable({
                                     }
                                 });
                                 return ret;
-                            },
-                             : function() {
-                                
                             },
                             dataSource : {
                                 xtype: 'Store',