summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-05 07:51:20 +0000
committeralecpl <alec@alec.pl>2012-04-05 07:51:20 +0000
commit8d8f7a7b8e7ea8464aa807611b3db320fab12156 (patch)
treee121b8aa834c93696090a469391b2fb7d386ce2f /plugins/managesieve/managesieve.js
parent07f4fff8aa223fa5efb0ed73bd5889706034d1fd (diff)
- Larry skin support
Diffstat (limited to 'plugins/managesieve/managesieve.js')
-rw-r--r--plugins/managesieve/managesieve.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js
index be65c448e..61883f6d2 100644
--- a/plugins/managesieve/managesieve.js
+++ b/plugins/managesieve/managesieve.js
@@ -674,7 +674,8 @@ rcube_webmail.prototype.managesieve_tip_register = function(tips)
function(e) {
var offset = $(this).offset(),
left = offset.left,
- top = offset.top - 12;
+ top = offset.top - 12,
+ minwidth = $(this).width();
if (framed) {
offset = $((rcmail.env.task == 'mail' ? '#sievefilterform > iframe' : '#filter-box'), parent.document).offset();
@@ -685,7 +686,7 @@ rcube_webmail.prototype.managesieve_tip_register = function(tips)
tip.html(e.data.str)
top -= tip.height();
- tip.css({left: left, top: top}).show();
+ tip.css({left: left, top: top, minWidth: (minwidth-2) + 'px'}).show();
})
.bind('mouseleave', function(e) { tip.hide(); });
}