Browse Source

无JIRA任务 file.js修改一下

es6
windy 6 years ago
parent
commit
624455acdd
  1. 10
      dist/base.js
  2. 10
      dist/bundle.ie.js
  3. 8
      dist/bundle.ie.min.js
  4. 10
      dist/bundle.js
  5. 18
      dist/bundle.min.js
  6. 10
      dist/fineui.ie.js
  7. 8
      dist/fineui.ie.min.js
  8. 10
      dist/fineui.js
  9. 18
      dist/fineui.min.js
  10. 2
      dist/utils.min.js
  11. 10
      src/base/single/input/file.js

10
dist/base.js vendored

@ -9501,7 +9501,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
this.element.attr("title", o.title || "");
},
mounted: function () {
created: function () {
var self = this, o = this.options;
// create the noswfupload.wrap Object
// wrap.maxSize 文件大小限制
@ -9673,21 +9673,23 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
select: function () {
BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
this.wrap && BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
},
upload: function (handler) {
this.wrap.upload(handler);
this.wrap && this.wrap.upload(handler);
},
getValue: function () {
return this.wrap.attach_array;
return this.wrap ? this.wrap.attach_array : [];
},
reset: function () {
if (this.wrap) {
this.wrap.attach_array = [];
this.wrap.attach_names = [];
this.wrap.attachNum = 0;
}
},
_setEnable: function (enable) {

10
dist/bundle.ie.js vendored

@ -44567,7 +44567,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
this.element.attr("title", o.title || "");
},
mounted: function () {
created: function () {
var self = this, o = this.options;
// create the noswfupload.wrap Object
// wrap.maxSize 文件大小限制
@ -44739,21 +44739,23 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
select: function () {
BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
this.wrap && BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
},
upload: function (handler) {
this.wrap.upload(handler);
this.wrap && this.wrap.upload(handler);
},
getValue: function () {
return this.wrap.attach_array;
return this.wrap ? this.wrap.attach_array : [];
},
reset: function () {
if (this.wrap) {
this.wrap.attach_array = [];
this.wrap.attach_names = [];
this.wrap.attachNum = 0;
}
},
_setEnable: function (enable) {

8
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

10
dist/bundle.js vendored

@ -44971,7 +44971,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
this.element.attr("title", o.title || "");
},
mounted: function () {
created: function () {
var self = this, o = this.options;
// create the noswfupload.wrap Object
// wrap.maxSize 文件大小限制
@ -45143,21 +45143,23 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
select: function () {
BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
this.wrap && BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
},
upload: function (handler) {
this.wrap.upload(handler);
this.wrap && this.wrap.upload(handler);
},
getValue: function () {
return this.wrap.attach_array;
return this.wrap ? this.wrap.attach_array : [];
},
reset: function () {
if (this.wrap) {
this.wrap.attach_array = [];
this.wrap.attach_names = [];
this.wrap.attachNum = 0;
}
},
_setEnable: function (enable) {

18
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

10
dist/fineui.ie.js vendored

@ -44809,7 +44809,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
this.element.attr("title", o.title || "");
},
mounted: function () {
created: function () {
var self = this, o = this.options;
// create the noswfupload.wrap Object
// wrap.maxSize 文件大小限制
@ -44981,21 +44981,23 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
select: function () {
BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
this.wrap && BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
},
upload: function (handler) {
this.wrap.upload(handler);
this.wrap && this.wrap.upload(handler);
},
getValue: function () {
return this.wrap.attach_array;
return this.wrap ? this.wrap.attach_array : [];
},
reset: function () {
if (this.wrap) {
this.wrap.attach_array = [];
this.wrap.attach_names = [];
this.wrap.attachNum = 0;
}
},
_setEnable: function (enable) {

8
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

10
dist/fineui.js vendored

@ -45213,7 +45213,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
this.element.attr("title", o.title || "");
},
mounted: function () {
created: function () {
var self = this, o = this.options;
// create the noswfupload.wrap Object
// wrap.maxSize 文件大小限制
@ -45385,21 +45385,23 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
select: function () {
BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
this.wrap && BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
},
upload: function (handler) {
this.wrap.upload(handler);
this.wrap && this.wrap.upload(handler);
},
getValue: function () {
return this.wrap.attach_array;
return this.wrap ? this.wrap.attach_array : [];
},
reset: function () {
if (this.wrap) {
this.wrap.attach_array = [];
this.wrap.attach_names = [];
this.wrap.attachNum = 0;
}
},
_setEnable: function (enable) {

18
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

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

@ -413,7 +413,7 @@
this.element.attr("title", o.title || "");
},
mounted: function () {
created: function () {
var self = this, o = this.options;
// create the noswfupload.wrap Object
// wrap.maxSize 文件大小限制
@ -585,21 +585,23 @@
},
select: function () {
BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
this.wrap && BI.Widget._renderEngine.createElement(this.wrap.dom.input).click();
},
upload: function (handler) {
this.wrap.upload(handler);
this.wrap && this.wrap.upload(handler);
},
getValue: function () {
return this.wrap.attach_array;
return this.wrap ? this.wrap.attach_array : [];
},
reset: function () {
if (this.wrap) {
this.wrap.attach_array = [];
this.wrap.attach_names = [];
this.wrap.attachNum = 0;
}
},
_setEnable: function (enable) {

Loading…
Cancel
Save