*fix
This commit is contained in:
@@ -42,8 +42,6 @@ function setMailto(field, value)
|
||||
*/
|
||||
function initColorPicker()
|
||||
{
|
||||
var colorList = ['#7ec5ff', '#333', '#2B529C', '#E48600', '#D2323D', '#229F24', '#777777', '#D2691E', '#008B8B', '#2E8B57', '#4169E1', '#4B0082', '#FA8072', '#BA55D3', '#6B8E23'];
|
||||
|
||||
var selectedColor = $().val();
|
||||
if(selectedColor && $.inArray(selectedColor.toUpperCase(), colorList) == -1) colorList.unshift(selectedColor);
|
||||
colorList.forEach(function(color, index)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?phpjs::set('colorList',$config->kanban->laneColorList);?>
|
||||
<div id='mainContent' class='main-content'>
|
||||
<div class='main-header'>
|
||||
<h2>
|
||||
|
||||
Reference in New Issue
Block a user