X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-calendar-debug.js;h=2854206bacd5a1b8d8370706093a94acd3d55cd5;hp=92165115890a81e71e5e96144de71d02b4f3f08a;hb=fc32d3336ffe6a4ac93549dab21fd04b7d7056d3;hpb=89421cfc05345dc50d03f6bc14a3ba81a638f7a7 diff --git a/roojs-calendar-debug.js b/roojs-calendar-debug.js index 9216511589..2854206bac 100644 --- a/roojs-calendar-debug.js +++ b/roojs-calendar-debug.js @@ -9,6 +9,8 @@ Roo.bootstrap = Roo.bootstrap || {}; /** * @class Roo.bootstrap.Component * @extends Roo.Component + * @abstract + * @children Roo.bootstrap.Component * Bootstrap Component base class * @cfg {String} cls css class * @cfg {String} style any extra css @@ -117,11 +119,11 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, { } if (this.cls) { - cfg.cls = (typeof(cfg.cls) == 'undefined') ? this.cls : cfg.cls + ' ' + this.cls; + cfg.cls = (typeof(cfg.cls) == 'undefined' ? this.cls : cfg.cls) + ' ' + this.cls; } if (this.style) { // fixme needs to support more complex style data. - cfg.style = this.style; + cfg.style = (typeof(cfg.style) == 'undefined' ? this.style : cfg.style) + '; ' + this.style; } if(this.name){ @@ -493,6 +495,11 @@ Roo.bootstrap.Calendar = function(config){ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, { + /** + * @cfg {Roo.data.Store} store + * The data source for the calendar + */ + store : false, /** * @cfg {Number} startDay * Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)