Commit 33f843b6 authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander.Trofimov

Указаны пути к курсорам относительно html в меню. http://bugzserver/show_bug.cgi?id=16100

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57916 954022d7-b5bf-4e40-9824-e11837661b57
parent 0f31b883
...@@ -1660,8 +1660,10 @@ function CDrawingDocument(drawingObjects) ...@@ -1660,8 +1660,10 @@ function CDrawingDocument(drawingObjects)
this.cursorPaintFormat = ""; this.cursorPaintFormat = "";
if (bIsIE) if (bIsIE)
{ {
this.cursorPaintFormat = "url(../Common/Images/copy_format.cur), pointer"; // Пути указаны относительно html в меню, не надо их исправлять
this.cursorMarkerFormat = "url(../Common/Images/marker_format.cur), pointer"; // и коммитить на пути относительно тестового меню
this.cursorPaintFormat = "url(../../../sdk/Common/Images/copy_format.cur), pointer";
this.cursorMarkerFormat = "url(../../../sdk/Common/Images/marker_format.cur), pointer";
} }
else if (window.opera) else if (window.opera)
{ {
......
...@@ -95,7 +95,9 @@ ...@@ -95,7 +95,9 @@
// ToDo стоит перенести в common-ы // ToDo стоит перенести в common-ы
var kCurFormatPainter = ""; var kCurFormatPainter = "";
if (AscBrowser.isIE) if (AscBrowser.isIE)
kCurFormatPainter = "url(../Common/Images/copy_format.cur), pointer"; // Пути указаны относительно html в меню, не надо их исправлять
// и коммитить на пути относительно тестового меню
kCurFormatPainter = "url(../../../sdk/Common/Images/copy_format.cur), pointer";
else if (AscBrowser.isOpera) else if (AscBrowser.isOpera)
kCurFormatPainter = "pointer"; kCurFormatPainter = "pointer";
else else
......
...@@ -914,7 +914,9 @@ function CDrawingDocument() ...@@ -914,7 +914,9 @@ function CDrawingDocument()
this.cursorPaintFormat = ""; this.cursorPaintFormat = "";
if (bIsIE) if (bIsIE)
{ {
this.cursorPaintFormat = "url(../Common/Images/copy_format.cur), pointer"; // Пути указаны относительно html в меню, не надо их исправлять
// и коммитить на пути относительно тестового меню
this.cursorPaintFormat = "url(../../../sdk/Common/Images/copy_format.cur), pointer";
} }
else if (window.opera) else if (window.opera)
this.cursorPaintFormat = "pointer"; this.cursorPaintFormat = "pointer";
......
...@@ -1661,8 +1661,10 @@ function CDrawingDocument() ...@@ -1661,8 +1661,10 @@ function CDrawingDocument()
this.cursorPaintFormat = ""; this.cursorPaintFormat = "";
if (bIsIE) if (bIsIE)
{ {
this.cursorPaintFormat = "url(../Common/Images/copy_format.cur), pointer"; // Пути указаны относительно html в меню, не надо их исправлять
this.cursorMarkerFormat = "url(../Common/Images/marker_format.cur), pointer"; // и коммитить на пути относительно тестового меню
this.cursorPaintFormat = "url(../../../sdk/Common/Images/copy_format.cur), pointer";
this.cursorMarkerFormat = "url(../../../sdk/Common/Images/marker_format.cur), pointer";
} }
else if (window.opera) else if (window.opera)
{ {
......
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