Commit f3bc2bd5 authored by Alexander.Trofimov's avatar Alexander.Trofimov

zIndex string -> int

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55718 954022d7-b5bf-4e40-9824-e11837661b57
parent d8de8a48
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
textAlign : kLeftAlign, textAlign : kLeftAlign,
textColor : new CColor(0, 0, 0), textColor : new CColor(0, 0, 0),
canvasZindex : "1000", canvasZindex : 1000,
blinkInterval : 500, blinkInterval : 500,
cursorShape : "text", cursorShape : "text",
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
_init: function () { _init: function () {
var t = this; var t = this;
var z = parseInt(t.settings.canvasZindex); var z = t.settings.canvasZindex;
if (null != this.element) { if (null != this.element) {
t.canvasOuter = document.createElement('div'); t.canvasOuter = document.createElement('div');
...@@ -980,7 +980,7 @@ ...@@ -980,7 +980,7 @@
_adjustCanvas: function () { _adjustCanvas: function () {
var t = this; var t = this;
var z = parseInt(t.settings.canvasZindex); var z = t.settings.canvasZindex;
t.canvasOuterStyle.left = (t.left * t.kx) + "px"; t.canvasOuterStyle.left = (t.left * t.kx) + "px";
t.canvasOuterStyle.top = (t.top * t.ky) + "px"; t.canvasOuterStyle.top = (t.top * t.ky) + "px";
......
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