Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
b99efc0f
Commit
b99efc0f
authored
Dec 07, 2021
by
Hamza HRAMCHI
Browse files
FIX #18927 TIME 0:10 check if signed response is draf/not-send
parent
a9ae217e
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
dist/index.html
View file @
b99efc0f
...
...
@@ -15,6 +15,6 @@
<img
src=
"assets/spinner.gif"
/>
</div>
</app-root>
<script
src=
"runtime-es2015.4ac42fef445445e6f3d0.js"
type=
"module"
></script><script
src=
"runtime-es5.4ac42fef445445e6f3d0.js"
nomodule
defer
></script><script
src=
"polyfills-es5.8c2a86db22bc37211976.js"
nomodule
defer
></script><script
src=
"polyfills-es2015.f8f86766446f4344eec7.js"
type=
"module"
></script><script
src=
"scripts.3f995a62571f9f668311.js"
defer
></script><script
src=
"main-es2015.
12543549da6e0dfc3fa3
.js"
type=
"module"
></script><script
src=
"main-es5.
12543549da6e0dfc3fa3
.js"
nomodule
defer
></script></body>
<script
src=
"runtime-es2015.4ac42fef445445e6f3d0.js"
type=
"module"
></script><script
src=
"runtime-es5.4ac42fef445445e6f3d0.js"
nomodule
defer
></script><script
src=
"polyfills-es5.8c2a86db22bc37211976.js"
nomodule
defer
></script><script
src=
"polyfills-es2015.f8f86766446f4344eec7.js"
type=
"module"
></script><script
src=
"scripts.3f995a62571f9f668311.js"
defer
></script><script
src=
"main-es2015.
dcf7a13da862d40cad0e
.js"
type=
"module"
></script><script
src=
"main-es5.
dcf7a13da862d40cad0e
.js"
nomodule
defer
></script></body>
</html>
\ No newline at end of file
dist/main-es2015.
12543549da6e0dfc3fa3
.js
→
dist/main-es2015.
dcf7a13da862d40cad0e
.js
View file @
b99efc0f
This diff is collapsed.
Click to expand it.
dist/main-es5.
12543549da6e0dfc3fa3
.js
→
dist/main-es5.
dcf7a13da862d40cad0e
.js
View file @
b99efc0f
This diff is collapsed.
Click to expand it.
src/frontend/plugins/mail-editor/mail-editor.component.ts
View file @
b99efc0f
...
...
@@ -986,10 +986,8 @@ export class MailEditorComponent implements OnInit, OnDestroy {
async
openEmailAttach
(
type
:
string
,
attach
:
any
):
Promise
<
void
>
{
this
.
signedAttachId
=
null
;
if
(
type
===
'
attachments
'
)
{
if
(
attach
.
status
===
'
SIGN
'
)
{
this
.
signedAttachId
=
attach
.
id
;
await
this
.
getSignedAttachment
(
this
.
signedAttachId
);
}
this
.
http
.
get
(
`../rest/attachments/
${
this
.
signedAttachId
!==
null
?
this
.
signedAttachId
:
attach
.
id
}
/content?mode=base64`
).
pipe
(
tap
((
data
:
any
)
=>
{
this
.
dialog
.
open
(
DocumentViewerModalComponent
,
{
autoFocus
:
false
,
panelClass
:
'
maarch-full-height-modal
'
,
data
:
{
title
:
`
${
attach
.
label
}
`
,
base64
:
data
.
encodedDocument
,
filename
:
data
.
filename
}
});
...
...
@@ -1036,7 +1034,11 @@ export class MailEditorComponent implements OnInit, OnDestroy {
return
new
Promise
((
resolve
)
=>
{
this
.
http
.
get
(
`../rest/attachments/
${
id
}
`
).
pipe
(
tap
((
data
:
any
)
=>
{
if
(
!
this
.
functions
.
empty
(
data
.
signedResponse
))
{
this
.
signedAttachId
=
data
.
signedResponse
;
}
else
{
this
.
signedAttachId
=
null
;
}
resolve
(
true
);
}),
catchError
((
err
:
any
)
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment