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

Добавил c_oAscMaxTooltipLength.

fix bug #29052

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61822 954022d7-b5bf-4e40-9824-e11837661b57
parent a34dadca
...@@ -589,3 +589,5 @@ var c_oAscLineBeginSize = { ...@@ -589,3 +589,5 @@ var c_oAscLineBeginSize = {
large_mid : 7, large_mid : 7,
large_large : 8 large_large : 8
}; };
var c_oAscMaxTooltipLength = 256;
\ No newline at end of file
...@@ -916,7 +916,7 @@ ...@@ -916,7 +916,7 @@
} }
}, },
asc_setHyperlinkUrl: function (val) { this.hyperlinkModel.Hyperlink = val; }, asc_setHyperlinkUrl: function (val) { this.hyperlinkModel.Hyperlink = val; },
asc_setTooltip: function (val) { this.hyperlinkModel.Tooltip = val; }, asc_setTooltip: function (val) { this.hyperlinkModel.Tooltip = val ? val.slice(0, c_oAscMaxTooltipLength) : val; },
asc_setLocation: function (val) { this.hyperlinkModel.setLocation(val); }, asc_setLocation: function (val) { this.hyperlinkModel.setLocation(val); },
asc_setSheet: function (val) { this.hyperlinkModel.setLocationSheet(val); }, asc_setSheet: function (val) { this.hyperlinkModel.setLocationSheet(val); },
asc_setRange: function (val) { this.hyperlinkModel.setLocationRange(val); }, asc_setRange: function (val) { this.hyperlinkModel.setLocationRange(val); },
......
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