fay 7 years ago
parent
commit
16f412e9d1
  1. 6
      dist/base.js
  2. 6
      dist/bundle.js
  3. 6
      dist/fineui.js
  4. 5
      src/base/single/editor/editor.multifile.js
  5. 1
      src/base/single/input/file.js

6
dist/base.js vendored

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

6
dist/bundle.js vendored

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

6
dist/fineui.js vendored

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

5
src/base/single/editor/editor.multifile.js

@ -6,7 +6,7 @@
* @extends BI.Single
* @abstract
*/
BI.MultifileEditor = BI.inherit(BI.Single, {
BI.MultifileEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () {
var conf = BI.MultifileEditor.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
@ -30,7 +30,8 @@ BI.MultifileEditor = BI.inherit(BI.Single, {
url: o.url,
multiple: o.multiple,
accept: o.accept,
maxSize: o.maxSize
maxSize: o.maxSize,
title: o.title
});
this.file.on(BI.File.EVENT_CHANGE, function () {
self.fireEvent(BI.MultifileEditor.EVENT_CHANGE, arguments);

1
src/base/single/input/file.js

@ -407,6 +407,7 @@
this.element.attr("multiple", "multiple");
}
this.element.attr("name", o.name || this.getName());
this.element.attr("title", o.title || "");
},
mounted: function () {

Loading…
Cancel
Save