mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 11:38:02 +02:00
Add CSS to better match egw. Fix chosen sizes using new width attribute. Not perfect, but at least never too small.
This commit is contained in:
@ -777,6 +777,11 @@
|
||||
this.form_field_jq.trigger("liszt:showing_dropdown", {
|
||||
chosen: this
|
||||
});
|
||||
var windowHeight = $(window).height(),
|
||||
dropdownTop = this.container.offset().top + this.container.height() - $(window).scrollTop()
|
||||
totalHeight = this.dropdown.height() + dropdownTop
|
||||
|
||||
this.dropdown.toggleClass('chzn-above', totalHeight > windowHeight);
|
||||
this.results_showing = true;
|
||||
this.search_field.focus();
|
||||
this.search_field.val(this.search_field.val());
|
||||
|
Reference in New Issue
Block a user