1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Replace UPLOAD with + for attachments action

This commit is contained in:
sauls8t 2019-06-25 16:53:43 +01:00
parent d6432afdad
commit 595301db64
3 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ export default Component.extend(Modals, Notifier, {
let uploadUrl = `${url}/documents/${documentId}/attachments`;
// Handle upload clicks on button and anything inside that button.
let sel = ['#upload-document-files ', '#upload-document-files > span'];
let sel = ['#upload-document-files ', '#upload-document-files > i'];
for (var i=0; i < 2; i++) {
let dzone = new Dropzone(sel[i], {
headers: {