mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Fixed problem with column header being displayed on checkbox columns, and always disabling the select-cols menu entry for it
This commit is contained in:
parent
5bed43746f
commit
085d8bf07f
@ -521,7 +521,7 @@ egwGridColumns.prototype.getColumnVisibilitySet = function()
|
||||
result[this.columns[i].id] = {
|
||||
"caption": this.columns[i].caption,
|
||||
"enabled": (this.columns[i].visibility != EGW_COL_VISIBILITY_ALWAYS) &&
|
||||
(this.columns[i].type == EGW_COL_TYPE_DEFAULT),
|
||||
(this.columns[i].type != EGW_COL_TYPE_NAME_ICON_FIXED),
|
||||
"visible": this.columns[i].visibility != EGW_COL_VISIBILITY_INVISIBLE
|
||||
};
|
||||
}
|
||||
|
@ -352,13 +352,13 @@ egwGridViewOuter.prototype.buildBaseHeader = function()
|
||||
});
|
||||
|
||||
cont.append(this.checkbox);
|
||||
} else {
|
||||
var caption = $(document.createElement("span"));
|
||||
caption.html(col.caption);
|
||||
|
||||
cont.append(caption);
|
||||
}
|
||||
|
||||
var caption = $(document.createElement("span"));
|
||||
caption.html(col.caption);
|
||||
|
||||
cont.append(caption);
|
||||
|
||||
if (col.type != EGW_COL_TYPE_CHECKBOX && col.sortable != EGW_COL_SORTABLE_NONE)
|
||||
{
|
||||
var sortArrow = $(document.createElement("span"));
|
||||
|
Loading…
Reference in New Issue
Block a user