X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=3a7892ae3f1d8bc8c1b2f1fdfe5dc008954ba748;hb=682b55a93857ddf7a1e4c0a1876d412dbc199b0c;hp=af944d20088c0ce9e5cd2573dd9e4d44f03d8ba9;hpb=d81ddeecb21edfe27401017eb4d0cc01dfae425b;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index af944d2008..3a7892ae3f 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -3055,6 +3055,7 @@ Roo.Shadow.prototype = { * frame: Shadow displays equally on all four sides
* drop: Traditional bottom-right drop shadow (default) */ + mode: false, /** * @cfg {String} offset * The number of pixels to offset the shadow from the element (defaults to 4) @@ -7031,7 +7032,7 @@ Roo.Toolbar.prototype = { * @cfg {Array} items * array of button configs or elements to add (will be converted to a MixedCollection) */ - + items: false, /** * @cfg {String/HTMLElement/Element} container * The id or element that will contain the toolbar @@ -20607,6 +20608,10 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { */ stylesheets: false, + /** + * @cfg {boolean} allowComments - default false - allow comments in HTML source - by default they are stripped - if you are editing email you may need this. + */ + allowComments: false, // id of frame.. frameId: false, @@ -21521,7 +21526,9 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { return; } if (node.nodeName == "#comment") { - node.parentNode.removeChild(node); + if (!this.allowComments) { + node.parentNode.removeChild(node); + } // clean up silly Windows -- stuff? return; } @@ -22317,6 +22324,10 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, { * */ white: false, + /** + * @cfg {boolean} allowComments - default false - allow comments in HTML source - by default they are stripped - if you are editing email you may need this. + */ + allowComments: false, // id of frame.. frameId: false, @@ -31905,19 +31916,14 @@ Roo.extend(Roo.ScrollPanel, Roo.ContentPanel, { - - - - - - /** * @class Roo.TreePanel * @extends Roo.ContentPanel + * Treepanel component + * * @constructor * Create a new TreePanel. - defaults to fit/scoll contents. * @param {String/Object} config A string to set only the panel's title, or a config object - * @cfg {Roo.tree.TreePanel} tree The tree TreePanel, with config etc. */ Roo.TreePanel = function(config){ var el = config.el; @@ -31960,7 +31966,12 @@ Roo.TreePanel = function(config){ Roo.extend(Roo.TreePanel, Roo.ContentPanel, { fitToFrame : true, - autoScroll : true + autoScroll : true, + /* + * @cfg {Roo.tree.TreePanel} tree The tree TreePanel, with config etc. + */ + tree : false + }); @@ -38414,6 +38425,7 @@ Roo.LoadMask.prototype = { * True to create a single-use mask that is automatically destroyed after loading (useful for page loads), * False to persist the mask element reference for multiple uses (e.g., for paged data widgets). Defaults to false. */ + removeMask : false, /** * @cfg {String} msg * The text to display in a centered loading message box (defaults to 'Loading...')