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
......@@ -588,4 +588,6 @@ var c_oAscLineBeginSize = {
large_small : 6,
large_mid : 7,
large_large : 8
};
\ No newline at end of file
};
var c_oAscMaxTooltipLength = 256;
\ No newline at end of file
......@@ -916,7 +916,7 @@
}
},
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_setSheet: function (val) { this.hyperlinkModel.setLocationSheet(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