Commit 772c714e authored by Mikolaï Krol's avatar Mikolaï Krol Committed by Mikolaï Krol

erp5_jexcel_editor: fixed color column

parent 9651038a
......@@ -314,9 +314,10 @@
array.shift();
array.forEach(function (cell) {
instance.setValue(getCoordsFromCell(cell), "");
cell.innerHTML = "<div class='color' style='background-color: rgb(0,0,0);'></div>";
cell.innerHTML = "";
});
instance.options.columns[Number(cell.dataset.x)].type = "color";
instance.options.columns[Number(cell.dataset.x)].render = "square";
fireDblClick(cell);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment