From 16f412e9d1081c83596eae81a36d611990ec0518 Mon Sep 17 00:00:00 2001 From: fay Date: Wed, 16 May 2018 23:14:49 +0800 Subject: [PATCH] update --- dist/base.js | 6 ++++-- dist/bundle.js | 6 ++++-- dist/fineui.js | 6 ++++-- src/base/single/editor/editor.multifile.js | 5 +++-- src/base/single/input/file.js | 1 + 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/dist/base.js b/dist/base.js index 6430c7863..2879b77fc 100644 --- a/dist/base.js +++ b/dist/base.js @@ -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 () { diff --git a/dist/bundle.js b/dist/bundle.js index d5a8bbb57..587615c32 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -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 () { diff --git a/dist/fineui.js b/dist/fineui.js index 80e9370f3..a46a9f3bb 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -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 () { diff --git a/src/base/single/editor/editor.multifile.js b/src/base/single/editor/editor.multifile.js index 40aae20dc..9284c12e8 100644 --- a/src/base/single/editor/editor.multifile.js +++ b/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); diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 8a45fd2b5..cd1b9fe9c 100644 --- a/src/base/single/input/file.js +++ b/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 () {