Skip to content

Commit

Permalink
[FIX] web_editor: Not possible to edit a link on safari
Browse files Browse the repository at this point in the history
On Safari, when editing the template of a mail.mass_mailing,
clicking the "Read more" button (or any button that can
have a link to the website) didn't open pop up to set
the URL of the website.

PS: inspired from textAngular/textAngular#762

opw:1889643
  • Loading branch information
simongoffin committed Oct 10, 2018
1 parent a5772d4 commit 782e437
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -95,7 +95,6 @@ td {
}

.btn.btn-primary {
-webkit-user-select: none;
color: @o_mm_def_btn_text;
border: none;
text-decoration: none;
Expand Down
3 changes: 3 additions & 0 deletions addons/web_editor/static/src/less/web_editor.ui.less
Expand Up @@ -1069,6 +1069,9 @@ body.editor_enable {
left: 0;
}
}
.btn {
-webkit-user-select: initial;
}
}

#web_editor_inside_iframe {
Expand Down

0 comments on commit 782e437

Please sign in to comment.