From bd596ac6864f981b4722e68c44d138b115538723 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Tue, 12 Jul 2022 09:32:31 +0800 Subject: [PATCH] * Fix bug#25030. --- module/execution/js/kanban.js | 4 ++-- module/execution/js/taskkanban.js | 2 +- module/kanban/js/view.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index 3c48a056e5..421e050723 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -322,7 +322,7 @@ function updateRegionName(regionID, name) */ function updateLaneName(laneID, name) { - $('.kanban-lane[data-id="' + laneID + '"] > .kanban-lane-name > span').text(name); + $('.kanban-lane[data-id="' + laneID + '"] > .kanban-lane-name > span').text(name).attr('title', name); } /** @@ -349,7 +349,7 @@ function updateLaneColor(laneID, color) */ function updateColumnName(columnID, name, color) { - $('.kanban-col[data-id="' + columnID + '"] > div.title > span:first').text(name).css('color', color); + $('.kanban-col[data-id="' + columnID + '"] > div.title > span:first').text(name).attr('title', name).css('color', color); } /** diff --git a/module/execution/js/taskkanban.js b/module/execution/js/taskkanban.js index cb19dd35b8..6458b0a408 100644 --- a/module/execution/js/taskkanban.js +++ b/module/execution/js/taskkanban.js @@ -9,7 +9,7 @@ */ function updateColumnName(columnID, name, color) { - $('.kanban-col[data-id="' + columnID + '"] > div.title > span:first').text(name).css('color', color); + $('.kanban-col[data-id="' + columnID + '"] > div.title > span:first').text(name).attr('title', name).css('color', color); } /** diff --git a/module/kanban/js/view.js b/module/kanban/js/view.js index 8af7e8a9c9..7e39e60137 100644 --- a/module/kanban/js/view.js +++ b/module/kanban/js/view.js @@ -922,7 +922,7 @@ function updateRegionName(regionID, name) */ function updateLaneName(laneID, name) { - $('.kanban-lane[data-id="' + laneID + '"] > .kanban-lane-name > span').text(name); + $('.kanban-lane[data-id="' + laneID + '"] > .kanban-lane-name > span').text(name).attr('title', name); } /** @@ -949,7 +949,7 @@ function updateLaneColor(laneID, color) */ function updateColumnName(columnID, name, color) { - $('.kanban-col[data-id="' + columnID + '"] > div.title > span:first').text(name).css('color', color); + $('.kanban-col[data-id="' + columnID + '"] > div.title > span:first').text(name).attr('title', name).css('color', color); } /**