Bug 44992

This commit is contained in:
Julia Radzhabova 2020-03-31 18:21:06 +03:00
parent 308428d83f
commit c79ecb7e0a
3 changed files with 4 additions and 4 deletions

View file

@ -433,7 +433,7 @@ define([
}); });
var onHyperlinkClick = function(url) { var onHyperlinkClick = function(url) {
if (url && me.api.asc_getUrlType(url)>0) { if (url /*&& me.api.asc_getUrlType(url)>0*/) {
window.open(url); window.open(url);
} }
}; };

View file

@ -434,7 +434,7 @@ define([
}); });
var onHyperlinkClick = function(url) { var onHyperlinkClick = function(url) {
if (url && me.api.asc_getUrlType(url)>0) { if (url /*&& me.api.asc_getUrlType(url)>0*/) {
window.open(url); window.open(url);
} }
}; };

View file

@ -1277,11 +1277,11 @@ define([
}); });
return; return;
} }
if (this.api.asc_getUrlType(url)>0) { // if (this.api.asc_getUrlType(url)>0) {
var newDocumentPage = window.open(url, '_blank'); var newDocumentPage = window.open(url, '_blank');
if (newDocumentPage) if (newDocumentPage)
newDocumentPage.focus(); newDocumentPage.focus();
} // }
}, },
onApiAutofilter: function(config) { onApiAutofilter: function(config) {