combodate ready

This commit is contained in:
vitalets
2013-01-10 22:13:28 +04:00
parent 1f61f27047
commit a3b21b8f4b
7 changed files with 715 additions and 3 deletions

@ -15,9 +15,22 @@
$.extend(this.containerOptions, {
trigger: 'manual',
selector: false,
content: ' '
content: ' ',
template: $.fn.popover.defaults.template
});
//as template property is used in inputs, hide it from popover
var t;
if(this.$element.data('template')) {
t = this.$element.data('template');
this.$element.removeData('template');
}
this.call(this.containerOptions);
if(t) {
this.$element.data('template', t);
}
},
setContainerOption: function(key, value) {