Commit de0cd915 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Правка ввода текста в мерженную ячейку

Баг http://bugzserver/show_bug.cgi?id=21294

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51038 954022d7-b5bf-4e40-9824-e11837661b57
parent e758e808
......@@ -233,7 +233,7 @@ function CorrectAscColor(asc_color)
// тут выставляется ТОЛЬКО из меню. поэтому:
var _index = parseInt(asc_color.get_value());
var _id = (_index / 6) >> 0;
var _pos = _index - _id * 6
var _pos = _index - _id * 6;
var tint = g_oThemeColorTint[_id][_pos];
ret = g_oColorManager.getThemeColor(_id, tint);
break;
......
......@@ -9064,7 +9064,7 @@
isClearCell: isClearCell,
isHideCursor: isHideCursor,
saveValueCallback: function (val, flags, skipNLCheck) {
var oCellEdit = new asc_Range(col, row, col, row);
var oCellEdit = fl.isMerged ? new asc_Range(mc.c1, mc.r1, mc.c1, mc.r1) : new asc_Range(col, row, col, row);
return t._saveCellValueAfterEdit(oCellEdit, c, val, flags, skipNLCheck, /*isNotHistory*/false);
}
});
......
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