windy 4 years ago
parent
commit
dacac8681f
  1. 1
      src/base/single/input/file.js

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

@ -551,7 +551,6 @@
var input = wrap.dom.input.cloneNode(true); var input = wrap.dom.input.cloneNode(true);
var files = F(wrap.dom.input); var files = F(wrap.dom.input);
if (wrap.maxLength !== -1 && wrap.maxLength < files.length) { if (wrap.maxLength !== -1 && wrap.maxLength < files.length) {
BI.Msg.toast(BI.i18nText("BI-Upload_File_Count_Error", wrap.maxLength), { level: "error" });
self.fireEvent(BI.File.EVENT_ERROR, { self.fireEvent(BI.File.EVENT_ERROR, {
errorType: 2 errorType: 2
}); });

Loading…
Cancel
Save