From 716b055fbf3da98fbd5f73c7ac495e944af9ebf3 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Fri, 28 Jan 2022 02:20:42 +0000 Subject: [PATCH] Fix bugs. --- module/kanban/js/view.js | 2 +- module/kanban/view/performable.html.php | 2 +- module/kanban/view/setcolumn.html.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/kanban/js/view.js b/module/kanban/js/view.js index b639bd6c57..3b78e3357d 100644 --- a/module/kanban/js/view.js +++ b/module/kanban/js/view.js @@ -1128,7 +1128,7 @@ function createCardMenu(options) if(!card.color) color = "#fff"; for(let i = 0 ; i < colorList.length ; i ++ ) { - var attr = card.color == colorList[i] ? '' : ''; + var attr = card.color == colorList[i] ? '' : ''; var border = i == 0 ? 'border:1px solid #b0b0b0;' : ''; cardColoritems.push({label: "
" + colorListLang[colorList[i]] + attr , onClick: function(){setCardColor(card.id, colorList[i], card.kanban, card.region);}, html: true, attrs: {id: 'cardcolormenu'}, className: 'color' + i}); diff --git a/module/kanban/view/performable.html.php b/module/kanban/view/performable.html.php index dc565975a7..061d078e3c 100644 --- a/module/kanban/view/performable.html.php +++ b/module/kanban/view/performable.html.php @@ -19,7 +19,7 @@
- + diff --git a/module/kanban/view/setcolumn.html.php b/module/kanban/view/setcolumn.html.php index 8b6093a353..f04b0c5acd 100644 --- a/module/kanban/view/setcolumn.html.php +++ b/module/kanban/view/setcolumn.html.php @@ -21,7 +21,7 @@
kanban->doneFunction;?>kanban->doneFunction;?> kanban->enableFinished, $kanban->performable));?>
- +
kanban->columnName;?>kanban->columnName;?> name, "class='form-control'");?>