Commit 1fd91a98 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

// ToDo не должно происходить ничего, но нам приходит resize сверху

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53391 954022d7-b5bf-4e40-9824-e11837661b57
parent 8d9709cf
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
this.canvas = document.getElementById("ws-canvas"); this.canvas = document.getElementById("ws-canvas");
this.canvasOverlay = document.getElementById("ws-canvas-overlay"); this.canvasOverlay = document.getElementById("ws-canvas-overlay");
//this._canResize(); ToDo должно отрабатывать, но нам приходит resize сверху this._canResize();
} }
this.buffers.main = asc_DC({canvas: this.canvas, units: 1/*pt*/, this.buffers.main = asc_DC({canvas: this.canvas, units: 1/*pt*/,
...@@ -1164,6 +1164,9 @@ ...@@ -1164,6 +1164,9 @@
if (this._canResize()) { if (this._canResize()) {
this.getWorksheet().resize(); this.getWorksheet().resize();
this.showWorksheet(undefined, true); this.showWorksheet(undefined, true);
} else {
// ToDo не должно происходить ничего, но нам приходит resize сверху
this.showWorksheet(undefined, 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