Browse Source

Pull request #3008: KERNEL-12408 fix:bug fix

Merge in VISUAL/fineui from ~CHAOS.WANG/fineui:master to master

* commit 'b64fed301d8b60483109f9e04ae0e3efe99e889a':
  KERNEL-12408 fix:bug fix
es6
Chaos.Wang 2 years ago
parent
commit
f6dcb48f94
  1. 1
      src/base/list/virtualgrouplist.js
  2. 1
      src/base/list/virtuallist.js
  3. 4
      src/base/single/input/file.js

1
src/base/list/virtualgrouplist.js

@ -102,6 +102,7 @@ BI.VirtualGroupList = BI.inherit(BI.Widget, {
this.renderedIndex = cnt;
cnt++;
index += o.blockSize;
lastHeight = this.renderedIndex === -1 ? 0 : getElementHeight();
}
},

1
src/base/list/virtuallist.js

@ -85,6 +85,7 @@ BI.VirtualList = BI.inherit(BI.Widget, {
this.renderedIndex = cnt;
cnt++;
index += o.blockSize;
lastHeight = getElementHeight();
}
},

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

@ -116,8 +116,7 @@
return;
}
for (var
xhr = new XMLHttpRequest,
for (var xhr = new XMLHttpRequest,
upload = xhr.upload || {
addEventListener: function (event, callback) {
this["on" + event] = callback;
@ -129,6 +128,7 @@
) {
upload.addEventListener(
split[i].substring(2),
// eslint-disable-next-line no-loop-func
(function (event) {
return function (rpe) {
if (isFunction(handler[event])) {

Loading…
Cancel
Save