Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
b4a81179
Commit
b4a81179
authored
Apr 02, 2016
by
Laurent Montel
Browse files
Fix show attachment element
parent
6e4e18b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/viewer/webengine/mailwebengineview.cpp
View file @
b4a81179
...
...
@@ -262,9 +262,7 @@ void MailWebEngineView::injectAttachments(const boost::function<QString()> &dela
if
(
html
.
isEmpty
())
{
return
;
}
qDebug
()
<<
" void MailWebEngineView::injectAttachments(const boost::function<QString()> &delayedHtml) "
<<
html
;
//TODO verify
page
()
->
runJavaScript
(
MessageViewer
::
WebEngineScript
::
injectAttachments
(
html
,
QStringLiteral
(
"*#attachmentInjectionPoint"
)));
page
()
->
runJavaScript
(
MessageViewer
::
WebEngineScript
::
injectAttachments
(
html
,
QStringLiteral
(
"attachmentInjectionPoint"
)));
}
void
MailWebEngineView
::
toggleFullAddressList
(
const
QString
&
field
,
const
boost
::
function
<
QString
()
>
&
delayedHtml
,
bool
doShow
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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