fay 6 years ago
parent
commit
56c90aa50b
  1. 2
      src/base/single/input/file.js

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

@ -306,7 +306,7 @@
}); });
} }
}; };
form.setAttribute("action", handler.url); form.setAttribute("action", handler.url + "&filename=" + window.encodeURIComponent(handler.file.fileName));
form.setAttribute("target", iframe.id); form.setAttribute("target", iframe.id);
form.setAttribute("method", "post"); form.setAttribute("method", "post");
form.appendChild(handler.file); form.appendChild(handler.file);

Loading…
Cancel
Save