web-apps/apps/spreadsheeteditor/main/resources/help/fr/callback.js

16 lines
359 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
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
}
});
}