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

Добавил проверку, если мы дошли до конца колонок (когда они скрыты)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59806 954022d7-b5bf-4e40-9824-e11837661b57
parent ef88f514
......@@ -1404,7 +1404,7 @@
var lc = this.cols[i - 1];
var done = false;
for (var x = lc.left + lc.width; x < rightSide || !done; ++i) {
for (var x = lc.left + lc.width; i < gc_nMaxCol && (x < rightSide || !done); ++i) {
if (x >= rightSide) {
// add +1 column at the end and exit cycle
done = true;
......
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