Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZBUG-2958 Tasks section/tab doesn't work after latest patch. #719

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions WebRoot/js/zimbraMail/tasks/view/ZmTaskListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ function(defaultColumnSort) {
var headerCol = this._isMultiColumn ? this._headerHash[ZmItem.F_DATE] :
(col && this.getItemFromElement(col)) || (this._headerHash && this._headerHash[ZmItem.F_SORTED_BY]) || null;
if (headerCol) {
var colLabel = "";
if (activeSortBy && ZmTaskListView.SORTBY_HASH[activeSortBy]){
var msg = ZmTaskListView.SORTBY_HASH[activeSortBy].msg;
var field = ZmTaskListView.SORTBY_HASH[activeSortBy].field;
Expand All @@ -705,12 +706,12 @@ function(defaultColumnSort) {
if (field) {
headerCol._sortable = field;
}
}

//Set column label; for multi-column this changes the received text. For single column this sets to the sort by text
var colSpan = document.getElementById(DwtId.getListViewHdrId(DwtId.WIDGET_HDR_LABEL, this._view, headerCol._field));
if (colSpan) {
colSpan.innerHTML = colLabel;

//Set column label; for multi-column this changes the received text. For single column this sets to the sort by text
var colSpan = document.getElementById(DwtId.getListViewHdrId(DwtId.WIDGET_HDR_LABEL, this._view, headerCol._field));
if (colSpan) {
colSpan.innerHTML = colLabel;
}
}
}
};
Expand Down