* email: better height control of attachment popup

This commit is contained in:
Klaus Leithoff 2012-07-09 10:37:00 +00:00
parent 5a08e4d8a1
commit 33951d8197
4 changed files with 19 additions and 5 deletions

View File

@ -1142,7 +1142,7 @@ function fm_handleAttachmentClick(_double, _url, _windowName, _node)
} }
function fm_readAttachments(_url, _windowName, _node) { function fm_readAttachments(_url, _windowName, _node) {
egw_openWindowCentered(_url, _windowName, 750, 220); egw_openWindowCentered(_url, _windowName, 750, 260);
egw_appWindow('felamimail').xajax_doXMLHTTP("felamimail.ajaxfelamimail.refreshFolder"); egw_appWindow('felamimail').xajax_doXMLHTTP("felamimail.ajaxfelamimail.refreshFolder");
mailGrid.dataRoot.actionObject.setAllSelected(false); mailGrid.dataRoot.actionObject.setAllSelected(false);
} }

View File

@ -408,12 +408,18 @@ DIV.divButton {
height:99%; height:99%;
} }
#attachmentSpanAllDIV{
background-color:#efefdf;
height:260px;
overflow:auto;
}
#attachmentDIV { #attachmentDIV {
position:fixed; position:top;
background-color:#efefdf; background-color:#efefdf;
bottom:0px; bottom:0px;
min-height:80px; min-height:80px;
max-height:240px; max-height:239px;
width:100%; width:100%;
border-top: 1px solid silver; border-top: 1px solid silver;
overflow:auto; overflow:auto;

View File

@ -2,6 +2,7 @@
<script language="JavaScript1.2"> <script language="JavaScript1.2">
self.focus(); self.focus();
</script> </script>
<div id="attachmentSpanAllDIV">
<div style="border: 0px solid green; margin:0px; padding:0px; left:0px; background-color:#ffffff; min-height:20px;width:100%;font-weight:bold;text-align:left;line-height:20px;"> <div style="border: 0px solid green; margin:0px; padding:0px; left:0px; background-color:#ffffff; min-height:20px;width:100%;font-weight:bold;text-align:left;line-height:20px;">
<span id="subjectDATA" style="padding-left:2px; font-size: 110%;">{subject_data}</span> <span id="subjectDATA" style="padding-left:2px; font-size: 110%;">{subject_data}</span>
</div> </div>
@ -10,6 +11,7 @@ self.focus();
{attachment_rows} {attachment_rows}
</table> </table>
</div> </div>
</div>
<!-- END message_main_attachment --> <!-- END message_main_attachment -->
<!-- BEGIN message_attachement_row --> <!-- BEGIN message_attachement_row -->

View File

@ -435,12 +435,18 @@ DIV.divButton {
height:99%; height:99%;
} }
#attachmentSpanAllDIV{
background-color:#efefdf;
height:260px;
overflow:auto;
}
#attachmentDIV { #attachmentDIV {
position:fixed; position:top;
background-color:#efefdf; background-color:#efefdf;
bottom:0px; bottom:0px;
min-height:80px; min-height:80px;
max-height:240px; max-height:239px;
width:100%; width:100%;
border-top: 1px solid silver; border-top: 1px solid silver;
overflow:auto; overflow:auto;