summaryrefslogtreecommitdiff
path: root/program/include/rcube_template.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-19 11:20:12 +0000
committeralecpl <alec@alec.pl>2010-03-19 11:20:12 +0000
commit9b3fdc25c171d2b2461af42224ea16ad6c032c49 (patch)
treed7414b8cf6c373439b66edcdb9a0b54837bdd429 /program/include/rcube_template.php
parentf093291bfdac81dd6f68fb7cebc9a871c9f9bf04 (diff)
- Implemented messages copying using drag&drop + SHIFT (#1484086)
Diffstat (limited to 'program/include/rcube_template.php')
-rwxr-xr-xprogram/include/rcube_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index 6de32722c..ad498c9c5 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -860,7 +860,7 @@ class rcube_template extends rcube_html_page
if (!$attrib['href']) {
$attrib['href'] = '#';
}
- if ($command) {
+ if ($command && !$attrib['onclick']) {
$attrib['onclick'] = sprintf(
"return %s.command('%s','%s',this)",
JS_OBJECT_NAME,