mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
Make selectbox tags&search available for nextmatch header filter
This commit is contained in:
parent
b8c27d3370
commit
28f4155360
@ -860,6 +860,16 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
|
|||||||
this._appendOptionElement(key, _options[key]);
|
this._appendOptionElement(key, _options[key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// add an empty option for single select tags with empty_label in order
|
||||||
|
// to make allow_single_deselect option to work.
|
||||||
|
if (this.options.empty_label && this.options.tags
|
||||||
|
&& this.options.allow_single_deselect && !this.options.multiple)
|
||||||
|
{
|
||||||
|
var empty_option = jQuery(document.createElement("option"))
|
||||||
|
.attr("value", '');
|
||||||
|
empty_option.prependTo(this.input);
|
||||||
|
}
|
||||||
|
|
||||||
this.options.select_options = _options;
|
this.options.select_options = _options;
|
||||||
|
|
||||||
if(this.options.tags || this.options.search)
|
if(this.options.tags || this.options.search)
|
||||||
|
@ -2761,6 +2761,26 @@ tr.dialogHeader2 td {padding-top:15px;}
|
|||||||
}
|
}
|
||||||
.nextmatch_header_row .et2_selectbox.select-cat.chzn-container .chzn-results {max-height: 340px;}
|
.nextmatch_header_row .et2_selectbox.select-cat.chzn-container .chzn-results {max-height: 340px;}
|
||||||
|
|
||||||
|
.et2_nextmatch .egwGridView_outer .et2_selectbox.chzn-container-single {
|
||||||
|
width: auto !important;
|
||||||
|
background: white;
|
||||||
|
position: inherit;
|
||||||
|
margin-bottom: 3px;
|
||||||
|
}
|
||||||
|
.et2_nextmatch .egwGridView_outer .et2_selectbox.chzn-container-single a.chzn-single{
|
||||||
|
border:none;
|
||||||
|
border-radius: 0;
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
.et2_nextmatch .egwGridView_outer .et2_selectbox.chzn-container-single.chzn-container-active.chzn-with-drop .chzn-drop{
|
||||||
|
top:auto;
|
||||||
|
z-index: 10000;
|
||||||
|
left:auto;
|
||||||
|
|
||||||
|
}
|
||||||
|
.et2_nextmatch .egwGridView_outer .et2_selectbox.chzn-container-single.chzn-container-active.chzn-with-drop {
|
||||||
|
position: static;
|
||||||
|
}
|
||||||
/* Implementation for et2_selectbox mulit tags with single row*/
|
/* Implementation for et2_selectbox mulit tags with single row*/
|
||||||
.et2_selectbox_multi_row ul.chzn-choices {
|
.et2_selectbox_multi_row ul.chzn-choices {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
Loading…
Reference in New Issue
Block a user