Commit 46c5b61d authored by Alexander.Trofimov's avatar Alexander.Trofimov

bug 32282

send asc_onHyperlinkClick with null argument if document reference not valid
parent 851cd12a
......@@ -1451,7 +1451,10 @@ var editor;
spreadsheet_api.prototype._asc_setWorksheetRange = function(val) {
// Получаем sheet по имени
var ws = this.wbModel.getWorksheetByName(val.asc_getSheet());
if (!ws || ws.getHidden()) {
if (!ws) {
this.handlers.trigger("asc_onHyperlinkClick", null);
return;
} else if (ws.getHidden()) {
return;
}
// Индекс листа
......
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