diff options
author | thomascube <thomas@roundcube.net> | 2011-08-10 10:40:45 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-08-10 10:40:45 +0000 |
commit | d145f77f36adff40a9899657081e129eced62510 (patch) | |
tree | 83d030fed74b35952fa292eedd56ac34d54cea7a /skins/default/functions.js | |
parent | 4c24246df6963941c0362254ed7daea13373b265 (diff) |
CSS and UI fixes for IE6/7
Diffstat (limited to 'skins/default/functions.js')
-rw-r--r-- | skins/default/functions.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js index 603c703b2..32c0a7368 100644 --- a/skins/default/functions.js +++ b/skins/default/functions.js @@ -82,14 +82,14 @@ function rcube_mail_ui() this.popups = { markmenu: {id:'markmessagemenu'}, replyallmenu: {id:'replyallmenu'}, - forwardmenu: {id:'forwardmenu'}, + forwardmenu: {id:'forwardmenu', editable:1}, searchmenu: {id:'searchmenu', editable:1}, messagemenu: {id:'messagemenu'}, listmenu: {id:'listmenu', editable:1}, dragmessagemenu:{id:'dragmessagemenu', sticky:1}, groupmenu: {id:'groupoptionsmenu', above:1}, mailboxmenu: {id:'mailboxoptionsmenu', above:1}, - composemenu: {id:'composeoptionsmenu', editable:1}, + composemenu: {id:'composeoptionsmenu', editable:1, overlap:1}, // toggle: #1486823, #1486930 uploadmenu: {id:'attachment-form', editable:1, above:1, toggle:!bw.ie&&!bw.linux }, uploadform: {id:'upload-form', editable:1, toggle:!bw.ie&&!bw.linux } @@ -141,6 +141,11 @@ show_popupmenu: function(popup, show) } obj[show?'show':'hide'](); + + if (bw.ie6 && this.popups[popup].overlap) { + $('select').css('visibility', show?'hidden':'inherit'); + $('select', obj).css('visibility', 'inherit'); + } }, dragmessagemenu: function(show) @@ -335,7 +340,7 @@ body_mouseup: function(evt, p) && (!this.popups[i].editable || !this.target_overlaps(target, this.popups[i].id)) && (!this.popups[i].sticky || !rcube_mouse_is_over(evt, rcube_find_object(this.popups[i].id))) ) { - window.setTimeout('$("#'+this.popups[i].id+'").hide()', 50); + window.setTimeout('rcmail_ui.show_popup("'+i+'",false);', 50); } } }, |