Commit c9fa3168 authored by Ilya Kirillov's avatar Ilya Kirillov Committed by Alexander.Trofimov

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

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