mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Set a max-height to column-selector list
This commit is contained in:
parent
f59f6bbc3f
commit
3714cbbdf2
@ -1594,6 +1594,9 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_
|
|||||||
}
|
}
|
||||||
var t_position = jQuery(e.target).position();
|
var t_position = jQuery(e.target).position();
|
||||||
var s_position = this.div.position();
|
var s_position = this.div.position();
|
||||||
|
var max_height = this.getDOMNode().getElementsByClassName('egwGridView_outer')[0]['tBodies'][0].clientHeight -
|
||||||
|
(2 * this.selectPopup.find('.dialogFooterToolbar').height());
|
||||||
|
this.selectPopup.find('.ui-multiselect-checkboxes').css('max-height',max_height);
|
||||||
this.selectPopup.css("top", t_position.top)
|
this.selectPopup.css("top", t_position.top)
|
||||||
.css("left", s_position.left + this.div.width() - this.selectPopup.width());
|
.css("left", s_position.left + this.div.width() - this.selectPopup.width());
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user