Commit 33236bc8 authored by Ilya Kirillov's avatar Ilya Kirillov

Исправлен баг с цветами в рецензировании.

parent 73a3bd3c
......@@ -2468,6 +2468,9 @@ CContentChangesElement.prototype.Make_ArrayOfSimpleActions = function(Type, Pos,
var g_oUserColorById = {}, g_oUserNextColorIndex = 0;
function getUserColorById(userId, userName, isDark, isNumericValue)
{
if ((!userId || "" === userId) && (!userName || "" === userName))
return new CColor(0, 0, 0, 255);
var res;
if (g_oUserColorById.hasOwnProperty(userId))
{
......
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