summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-12-15 10:01:38 +0100
committerAleksander Machniak <alec@alec.pl>2013-12-15 10:01:38 +0100
commit9a0153324eeb1f0e808cb1a063d1f37d49ad48e2 (patch)
treee8370c629b5b32c689da8362f5be78097572a0a3 /skins/larry/ui.js
parent4187b3e26ff00b607d05cb9b588e83db18c3cab7 (diff)
Implemented menu actions to copy/move messages, added folder-selector widget (#1484086)
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index d203acf57..d66131075 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -369,8 +369,10 @@ function rcube_mail_ui()
function body_mouseup(e)
{
var config, obj, target = e.target;
+
if (target.className == 'inner')
target = e.target.parentNode;
+
for (var id in popups) {
obj = popups[id];
config = popupconfig[id];
@@ -379,9 +381,10 @@ function rcube_mail_ui()
&& !config.toggle
&& (!config.editable || !target_overlaps(target, obj.get(0)))
&& (!config.sticky || !rcube_mouse_is_over(e, obj.get(0)))
+ && !$(target).is('.folder-selector-link')
) {
var myid = id+'';
- window.setTimeout(function(){ show_popupmenu(myid, false) }, 10);
+ window.setTimeout(function() { show_popupmenu(myid, false); }, 10);
}
}
}