mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-16 16:58:14 +00:00
1 parent
74c2926bca
commit
270ff1bd29
3 files changed
+5
-1
No files matched your search
@@ -129,6 +129,9 @@
|
||||
if (options && options.asDraft && this.draftId) {
|
||||
id = buildPath() + '/' + this.draftId; // add draft ID
|
||||
}
|
||||
if (options && options.withResourcePath) {
|
||||
id = Message.$$resource.path(id); // return absolute URL
|
||||
}
|
||||
|
||||
return id;
|
||||
};
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
vm.sendState = false;
|
||||
vm.toggleFullscreen = toggleFullscreen;
|
||||
vm.uploader = new FileUploader({
|
||||
url: stateMessage.$absolutePath({asDraft: true}) + '/save',
|
||||
url: stateMessage.$absolutePath({asDraft: true, withResourcePath: true}) + '/save',
|
||||
autoUpload: true,
|
||||
alias: 'attachments',
|
||||
removeAfterUpload: false,
|
||||
|
||||
Reference in new issue
Block a user