|
|
@ -18645,7 +18645,7 @@ BI.shortcut("bi.editor", BI.Editor);/** |
|
|
|
* @extends BI.Single |
|
|
|
* @extends BI.Single |
|
|
|
* @abstract |
|
|
|
* @abstract |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
BI.MultifileEditor = BI.inherit(BI.Single, { |
|
|
|
BI.MultifileEditor = BI.inherit(BI.Widget, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
var conf = BI.MultifileEditor.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.MultifileEditor.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
@ -18669,7 +18669,8 @@ BI.MultifileEditor = BI.inherit(BI.Single, { |
|
|
|
url: o.url, |
|
|
|
url: o.url, |
|
|
|
multiple: o.multiple, |
|
|
|
multiple: o.multiple, |
|
|
|
accept: o.accept, |
|
|
|
accept: o.accept, |
|
|
|
maxSize: o.maxSize |
|
|
|
maxSize: o.maxSize, |
|
|
|
|
|
|
|
title: o.title |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.file.on(BI.File.EVENT_CHANGE, function () { |
|
|
|
this.file.on(BI.File.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.MultifileEditor.EVENT_CHANGE, arguments); |
|
|
|
self.fireEvent(BI.MultifileEditor.EVENT_CHANGE, arguments); |
|
|
@ -19434,6 +19435,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/** |
|
|
|
this.element.attr("multiple", "multiple"); |
|
|
|
this.element.attr("multiple", "multiple"); |
|
|
|
} |
|
|
|
} |
|
|
|
this.element.attr("name", o.name || this.getName()); |
|
|
|
this.element.attr("name", o.name || this.getName()); |
|
|
|
|
|
|
|
this.element.attr("title", o.title || ""); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
mounted: function () { |
|
|
|
mounted: function () { |
|
|
|