diff --git a/static/js/appDialog.js b/static/js/appDialog.js index 3ed85f1..a110046 100644 --- a/static/js/appDialog.js +++ b/static/js/appDialog.js @@ -59,6 +59,7 @@ oml.ui.appDialog = function() { var $html = $('
').html(html), section = $html.find('#' + id).html(); $content.html('

' + title + '

' + section); + oml.createLinks($content); }); } $('
') diff --git a/static/js/utils.js b/static/js/utils.js index bbf2134..7089ed3 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -894,11 +894,7 @@ oml.hasDialogOrScreen = function() { }; oml.openLink = function(url) { - if (Ox.startsWith(url, 'mailto:')) { - window.open(url); - } else { - window.open('/url=' + encodeURIComponent(url), '_blank'); - } + window.open(url); }; oml.reloadLists = function() {