From: john Date: Tue, 28 Nov 2017 03:56:34 +0000 (+0800) Subject: Roo/bootstrap/panel/Content.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=44c8485edff069fe8466cc112b3ac02483a01f26;p=roojs1 Roo/bootstrap/panel/Content.js --- diff --git a/Roo/bootstrap/panel/Content.js b/Roo/bootstrap/panel/Content.js index ed824193e6..84939e3ccc 100644 --- a/Roo/bootstrap/panel/Content.js +++ b/Roo/bootstrap/panel/Content.js @@ -20,9 +20,7 @@ * @cfg {String/HTMLElement/Element} resizeEl An element to resize if {@link #fitToFrame} is true (instead of this panel's element) * @cfg {Toolbar} toolbar A toolbar for this panel * @cfg {Boolean} autoScroll True to scroll overflow in this panel (use with {@link #fitToFrame}) - * @cfg {String|Object} title The title for this panel or object { 'xs-sm-md' : 'small title' , 'lg' : medim title ....} - - * + * @cfg {String} title The title for this panel * @cfg {Array} adjustments Values to add to the width/height when doing a {@link #fitToFrame} (default is [0, 0]) * @cfg {String} url Calls {@link #setUrl} with this value * @cfg {String} region (center|north|south|east|west) which region to put this panel on (when used with xtype constructors) @@ -116,14 +114,6 @@ Roo.bootstrap.panel.Content = function( config){ Roo.apply(this, config); } - // convert 'title' object into a string - // eg. - // { 'xs-sm' : 'atitle', "md-lg": "xxxx"} - // becomes: - // +hhhh+{1} - // show a roo.log messages if a size is not found .... - - if(this.resizeEl){ this.resizeEl = Roo.get(this.resizeEl, true); }else{ @@ -384,7 +374,7 @@ panel.load({ * @return {String} */ getTitle : function(){ - return this.title+'testing'; + return this.title; }, /**