Pman.Tab.AdminContactsManager.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 1 Feb 2011 03:16:04 +0000 (11:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 1 Feb 2011 03:16:04 +0000 (11:16 +0800)
Pman.Tab.AdminContactsManager.js

index e3297a5..8137201 100644 (file)
@@ -33,15 +33,17 @@ Pman.Tab.AdminContactsManager = new Roo.util.Observable({
         this.panel = parentLayout.addxtype({
             xtype: 'NestedLayoutPanel',
             xns: Roo,
-            background : true,
-            region : 'center',
-            title : "Contacts Manager",
             listeners : {
                 activate : function (_self)
                 {
-                
+                    if (_this.title) {
+                        this.setTitle(_this.title);
+                    }
                 }
             },
+            background : true,
+            region : 'center',
+            title : "Contacts Manager",
             layout : {
                 xtype: 'BorderLayout',
                 xns: Roo,