Make "Add contact" image/text ignored when copying/selecting recipients in main headers (#5103)

pull/5507/head
Aleksander Machniak 8 years ago
parent 386af483ce
commit c3e7d93c43

@ -1675,8 +1675,9 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null,
rcmail_output::JS_OBJECT_NAME, rcube::JQ($string)),
),
html::img(array(
'src' => $RCMAIL->output->abs_url($addicon, true),
'alt' => "Add contact",
'src' => $RCMAIL->output->abs_url($addicon, true),
'alt' => "Add contact",
'class' => 'noselect',
)));
}
}

@ -161,6 +161,15 @@ img
display: none;
}
.noselect
{
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
/* fixes vertical alignment of checkboxes and labels */
label input,
label span

@ -98,6 +98,14 @@ label input + span {
vertical-align: middle;
}
.noselect {
user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
/*** buttons ***/
input.button {

Loading…
Cancel
Save