web-apps/apps/spreadsheeteditor/main/resources/help/ru/callback.js
2016-11-25 17:16:53 +03:00

16 lines
359 B
JavaScript

function onhyperlinkclick(element) {
function _postMessage(msg) {
if (window.parent && window.JSON) {
window.parent.postMessage(window.JSON.stringify(msg), "*");
}
}
_postMessage({
command: 'internalCommand',
data: {
type: 'help:hyperlink',
data: element.href
}
});
}