summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-30 12:04:09 +0100
committerAleksander Machniak <alec@alec.pl>2013-10-30 12:04:09 +0100
commitb972b4c4c079898250912588d1eb1d8907dfe868 (patch)
tree34c8d37c827cba9354f8143196b70f906d50c470 /skins
parentc641dea371ad3b3162c1d8cfa77ba4d4b8629479 (diff)
Add an option to disable smart Reply-List behaviour - reply_all_mode (#1488734)
Diffstat (limited to 'skins')
-rw-r--r--skins/classic/functions.js2
-rw-r--r--skins/larry/ui.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index 4ad13136f..8d81c3ad2 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -625,7 +625,7 @@ prev_sibling: function(elm)
enable_command: function(p)
{
- if (p.command == 'reply-list') {
+ if (p.command == 'reply-list' && rcmail.env.reply_all_mode == 1) {
var label = rcmail.gettext(p.status ? 'replylist' : 'replyall');
$('a.button.replyAll').attr('title', label);
}
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index d558f16a2..0fd0241f7 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -473,7 +473,7 @@ function rcube_mail_ui()
function enable_command(p)
{
- if (p.command == 'reply-list') {
+ if (p.command == 'reply-list' && rcmail.env.reply_all_mode == 1) {
var label = rcmail.gettext(p.status ? 'replylist' : 'replyall');
if (rcmail.env.action == 'preview')
$('a.button.replyall').attr('title', label);