Commit 3eb70df5 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@56261 954022d7-b5bf-4e40-9824-e11837661b57
parent e69bcdff
...@@ -5163,7 +5163,7 @@ ...@@ -5163,7 +5163,7 @@
this.expandRowsOnScroll(true); this.expandRowsOnScroll(true);
this._calcVisibleRows(); this._calcVisibleRows();
if (this.rows[this.rows.length - 1].height < 0.000001) {break;} if (this.rows[this.rows.length - 1].height < 0.000001) {break;}
} while (this._isVisibleY()); } while (this._isVisibleY() && gc_nMaxRow !== this.rows.length);
if (!skipScrollReinit) { if (!skipScrollReinit) {
this.handlers.trigger("reinitializeScrollY"); this.handlers.trigger("reinitializeScrollY");
} }
...@@ -5177,7 +5177,7 @@ ...@@ -5177,7 +5177,7 @@
this.expandColsOnScroll(true); this.expandColsOnScroll(true);
this._calcVisibleColumns(); this._calcVisibleColumns();
if (this.cols[this.cols.length - 1].width < 0.000001) {break;} if (this.cols[this.cols.length - 1].width < 0.000001) {break;}
} while (this._isVisibleX()); } while (this._isVisibleX() && gc_nMaxCol !== this.cols.length);
if (!skipScrollReinit) { if (!skipScrollReinit) {
this.handlers.trigger("reinitializeScrollX"); this.handlers.trigger("reinitializeScrollX");
} }
......
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