guy 7 years ago
parent
commit
5db561f57a
  1. 4
      bi/base.js
  2. 4
      dist/base.js
  3. 4
      src/base/single/input/file.js

4
bi/base.js

@ -18259,7 +18259,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
false
);
xhr.open("post", handler.url + '&filename=' + BI.cjkEncode(handler.file.fileName), true);
xhr.open("post", handler.url + '&filename=' + window.encodeURIComponent(handler.file.fileName), true);
if (!xhr.upload) {
var rpe = {loaded: 0, total: handler.file.fileSize || handler.file.size, simulation: true};
rpe.interval = setInterval(function () {
@ -18708,7 +18708,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
setEnable: function (enable) {
BI.MultiFile.superclass.setEnable.apply(this, arguments);
BI.File.superclass.setEnable.apply(this, arguments);
if (enable === true) {
this.element.attr("disabled", "disabled");
} else {

4
dist/base.js vendored

@ -18259,7 +18259,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
false
);
xhr.open("post", handler.url + '&filename=' + BI.cjkEncode(handler.file.fileName), true);
xhr.open("post", handler.url + '&filename=' + window.encodeURIComponent(handler.file.fileName), true);
if (!xhr.upload) {
var rpe = {loaded: 0, total: handler.file.fileSize || handler.file.size, simulation: true};
rpe.interval = setInterval(function () {
@ -18708,7 +18708,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
},
setEnable: function (enable) {
BI.MultiFile.superclass.setEnable.apply(this, arguments);
BI.File.superclass.setEnable.apply(this, arguments);
if (enable === true) {
this.element.attr("disabled", "disabled");
} else {

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

@ -153,7 +153,7 @@
},
false
);
xhr.open("post", handler.url + '&filename=' + BI.cjkEncode(handler.file.fileName), true);
xhr.open("post", handler.url + '&filename=' + window.encodeURIComponent(handler.file.fileName), true);
if (!xhr.upload) {
var rpe = {loaded: 0, total: handler.file.fileSize || handler.file.size, simulation: true};
rpe.interval = setInterval(function () {
@ -602,7 +602,7 @@
},
setEnable: function (enable) {
BI.MultiFile.superclass.setEnable.apply(this, arguments);
BI.File.superclass.setEnable.apply(this, arguments);
if (enable === true) {
this.element.attr("disabled", "disabled");
} else {

Loading…
Cancel
Save