mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-25 05:58:42 +01:00
Many webmail improvements.
This commit is contained in:
+10
-6
@@ -71,13 +71,17 @@ confirmation = function(question, action, callback) {
|
||||
SqueezeBox.open("/mailng/main/confirm/?question=" + question);
|
||||
}
|
||||
|
||||
setContentSize = function(cellsize) {
|
||||
var contentsize = $(document.body).getSize().y - $("topmenubar").getSize().y
|
||||
- $("header").getSize().y;
|
||||
setDivHeight = function(id, extrah, modulo) {
|
||||
var contentsize = $(document.body).getSize().y
|
||||
- $("topmenubar").getSize().y
|
||||
- $("header").getSize().y
|
||||
- ($("navbar").getSize().y)
|
||||
- extrah;
|
||||
|
||||
contentsize -= $("navbar").getSize().y * 2;
|
||||
contentsize -= contentsize % cellsize;
|
||||
$("listing").setStyle("height", contentsize + "px");
|
||||
if (modulo) {
|
||||
contentsize -= contentsize % modulo;
|
||||
}
|
||||
$(id).setStyle("height", contentsize + "px");
|
||||
}
|
||||
|
||||
bindRows = function(rooturl, page) {
|
||||
|
||||
Reference in New Issue
Block a user