forked from extern/egroupware
Merge branch 'master' into changable_column_order
This commit is contained in:
commit
a3ac0bd638
@ -10,6 +10,8 @@ matrix:
|
||||
fast_finish: true
|
||||
allow_failures:
|
||||
- php: master
|
||||
# allow 7.3 to fail, as pear.php.net is down and it has no cache with missing PEAR packages yet :(
|
||||
- php: 7.3
|
||||
|
||||
services:
|
||||
- memcached
|
||||
|
@ -41,7 +41,7 @@ foreach($categories as $cat)
|
||||
{
|
||||
// Use slightly more specific selector that just class, to allow defaults
|
||||
// if the category has no color
|
||||
$content .= ".egwGridView_scrollarea tr.row_category.cat_{$cat['id']} > td:first-child, .select-cat li.cat_{$cat['id']}, .nextmatch_header_row .et2_selectbox.select-cat.cat_{$cat['id']} a.chzn-single {border-left-color: {$cat['data']['color']};} .cat_{$cat['id']}.fullline_cat_bg, div.cat_{$cat['id']}, span.cat_{$cat['id']} { background-color: {$cat['data']['color']};} /*{$cat['name']}*/\n";
|
||||
$content .= ".egwGridView_scrollarea tr.row_category.cat_{$cat['id']} > td:first-child, .select-cat li.cat_{$cat['id']}, .et2_selectbox ul.chzn-results li.cat_{$cat['id']}, .et2_selectbox ul.chzn-choices li.cat_{$cat['id']}, .nextmatch_header_row .et2_selectbox.select-cat.cat_{$cat['id']} a.chzn-single {border-left-color: {$cat['data']['color']};} .cat_{$cat['id']}.fullline_cat_bg, div.cat_{$cat['id']}, span.cat_{$cat['id']} { background-color: {$cat['data']['color']};} /*{$cat['name']}*/\n";
|
||||
}
|
||||
if (!empty($cat['data']['icon']))
|
||||
{
|
||||
|
@ -580,6 +580,14 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
// Value must be a real Array, not an object
|
||||
this.input.val(typeof _value == 'object' && _value != null ? jQuery.map(_value,function(value,index){return [value];}) : _value);
|
||||
this.input.trigger("liszt:updated");
|
||||
var self = this;
|
||||
if (this._type == 'listbox' && this.value_class != '')
|
||||
{
|
||||
var chosen = this.input.next();
|
||||
chosen.find('.search-choice-close').each((i,v)=>{
|
||||
jQuery(v).parent().addClass(self.value_class + self.options.select_options[v.rel]['value']);
|
||||
});
|
||||
}
|
||||
this.value = _value;
|
||||
return;
|
||||
}
|
||||
@ -771,6 +779,11 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
|
||||
// Properly size chosen, even if on a hidden tab
|
||||
var size = egw.getHiddenDimensions(this.input);
|
||||
if (this._type == 'listbox' && this.value_class != '')
|
||||
{
|
||||
var self = this;
|
||||
this.input.find('option').each((i,v) => {jQuery(v).addClass(self.value_class+v.value)});
|
||||
}
|
||||
this.input.chosen({
|
||||
inherit_select_classes: true,
|
||||
search_contains: true,
|
||||
|
@ -1583,7 +1583,7 @@ div.message.floating {
|
||||
border-left: 6px solid transparent;
|
||||
}
|
||||
.egwGridView_scrollarea tr.row_category > td:first-child,
|
||||
.select-cat li{
|
||||
.select-cat li,.et2_selectbox .chzn-results li, .et2_selectbox ul.chzn-choices li.search-choice{
|
||||
border-left: 6px solid transparent;
|
||||
}
|
||||
.et2_nextmatch .egwGridView_outer .egwGridView_scrollarea tbody tr.row_category td:first-child > div {
|
||||
|
@ -6761,7 +6761,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
|
||||
filter: none;
|
||||
}
|
||||
.egwGridView_scrollarea tr.row_category > td:first-child,
|
||||
.select-cat li {
|
||||
.select-cat li,
|
||||
.et2_selectbox .chzn-results li,
|
||||
.et2_selectbox ul.chzn-choices li.search-choice {
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
.et2_taglist_category span[class*="cat_"] {
|
||||
|
@ -198,7 +198,8 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.egwGridView_scrollarea tr.row_category > td:first-child, .select-cat li {
|
||||
.egwGridView_scrollarea tr.row_category > td:first-child, .select-cat li,
|
||||
.et2_selectbox .chzn-results li, .et2_selectbox ul.chzn-choices li.search-choice{
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user