getAutoCreate : function()
{
- var btn = Roo.bootstrap.Button.getAutoCreate.prototype.call(this);
+ var btn = Roo.bootstrap.Button.prototype.getAutoCreate.call(this);
var cfg = {
cls : 'roo-card-uploader-wrap',
btn,
{
tag : 'input',
- cls : 'd=none roo-card-upload-selector',
+ cls : 'd-none roo-card-upload-selector',
type : 'file',
multiple : 'multiple'
},
this.selectorEl = this.el.select('.roo-card-upload-selector', true).first();
- this.bodyEl.on('click', this.beforeSelectFile, this);
+ this.el.on('click', this.beforeSelectFile, this);
this.selectorEl.on('change', this.onFileSelected, this);
if (this.images) {
var t = this;