Use the bounce app to open links from inner

This commit is contained in:
yflory committed 2017-11-27 14:44:44 +01:00
1 parent 812df7de6f
commit 644f6e9985
7 files changed
+42 -39

No files matched your search

+3 -2
View File
@@ -345,8 +345,9 @@ define([
var el = e.currentTarget;
if (!el || el.nodeName !== 'A') { return; }
var href = el.getAttribute('href');
var bounceHref = window.location.origin + '/bounce/#' + encodeURIComponent(href);
if (href) { ifrWindow.open(bounceHref, '_blank'); }
if (href) {
framework._.sfCommon.openUnsafeURL(href);
}
};
framework.onEditableChange(function (unlocked) {