Skip to content

Commit

Permalink
[jan] Allow Command-C to copy text from HTML message previews (Bug #1…
Browse files Browse the repository at this point in the history
…4653).
  • Loading branch information
yunosh committed Jun 22, 2017
1 parent 4ce72f0 commit edb8e92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions imp/docs/CHANGES
Expand Up @@ -2,6 +2,7 @@
v6.2.20-git
-----------

[jan] Allow Command-C to copy text from HTML message previews (Bug #14653).


-------
Expand Down
5 changes: 4 additions & 1 deletion imp/js/dimpbase.js
Expand Up @@ -2577,7 +2577,10 @@ var DimpBase = {
e = new Event(e);
e.preventDefault();
noelt = true;
if (!(kc === 17 || kc === 67)) { //CTRL + C

// Allow ctrl-c (kc=67) and command-c (kc=91) to copy text from the
// message preview.
if (!(kc === 17 || kc === 67 || kc === 91)) {
$$('IFRAME').invoke('blur');
}
} else if (e.findElement('FORM')) {
Expand Down
4 changes: 2 additions & 2 deletions imp/package.xml
Expand Up @@ -33,7 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [jan] Allow Command-C to copy text from HTML message previews (Bug #14653).
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -4027,7 +4027,7 @@
<date>2017-05-03</date>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [jan] Allow Command-C to copy text from HTML message previews (Bug #14653).
</notes>
</release>
</changelog>
Expand Down

0 comments on commit edb8e92

Please sign in to comment.