Roo/bootstrap/panel/Content.js
authorjohn <john@roojs.com>
Tue, 28 Nov 2017 04:14:33 +0000 (12:14 +0800)
committerjohn <john@roojs.com>
Tue, 28 Nov 2017 04:14:33 +0000 (12:14 +0800)
Roo/bootstrap/panel/Content.js

index 4c0623d..45fd0eb 100644 (file)
@@ -374,9 +374,10 @@ panel.load({
      * @return {String} 
      */
     getTitle : function(){
-        Roo.log('type offfff: '+typeof(this.title));
+        if (typeof(this.title) != 'object') {
+            return this.title;
+        }
         
-        return this.title;
     },
     
     /**