open link in new tab
This commit is contained in:
parent
bceb2ccbe1
commit
84d0a87a5c
2 changed files with 2 additions and 5 deletions
|
@ -59,6 +59,7 @@ oml.ui.appDialog = function() {
|
|||
var $html = $('<div>').html(html),
|
||||
section = $html.find('#' + id).html();
|
||||
$content.html('<h1><b>' + title + '</b></h1>' + section);
|
||||
oml.createLinks($content);
|
||||
});
|
||||
}
|
||||
$('<div>')
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
};
|
||||
|
||||
oml.reloadLists = function() {
|
||||
|
|
Loading…
Reference in a new issue