X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=f7ccb4bad7babb861d87f3ab735eae290604473c;hb=refs%2Fheads%2Fwip_alan_T6597_Popover_api_improvements;hp=5f0b4e6301bf6bdf4f26c91a1df202c63e4c78bc;hpb=41a76ad00f5fc61e2452862ddf6908ae45d7fd73;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 5f0b4e6301..f7ccb4bad7 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -20653,10 +20653,11 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { st = ''; - } else { - st = ''; + } else { + for (var i in this.stylesheets) { + st += ''; + } + } st += '' + - ' '; + ' '; }, // private @@ -21582,6 +21583,9 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { if (v.match(/^#/)) { return; } + if (v.match(/^\{/)) { // allow template editing. + return; + } // Roo.log("(REMOVE TAG)"+ node.tagName +'.' + n + '=' + v); node.removeAttribute(n); @@ -24595,7 +24599,26 @@ Roo.extend(Roo.form.BasicForm, Roo.util.Observable, { return valid; }, - + /** + * Returns array of invalid form fields. + * @return Array + */ + + invalidFields : function() + { + var ret = []; + this.items.each(function(f){ + if(f.validate()){ + return; + } + ret.push(f); + + }); + + return ret; + }, + + /** * DEPRICATED Returns true if any fields in this form have changed since their original load. * @return Boolean @@ -31189,6 +31212,7 @@ Roo.LayoutStateManager.prototype = { * @cfg {String/Object} params When used with {@link #url}, calls {@link #setUrl} with this value * @cfg {Boolean} loadOnce When used with {@link #url}, calls {@link #setUrl} with this value * @cfg {String} content Raw content to fill content panel with (uses setContent on construction.) + * @cfg {String} style Extra style to add to the content panel * @constructor * Create a new ContentPanel. @@ -31226,6 +31250,8 @@ Roo.ContentPanel = function(el, config, content){ {tag: "div", cls: "x-layout-inactive-content", id: config.id||el}, true); } } + + this.closable = false; this.loaded = false; this.active = false;