sort apps alphabetic and open external links with a target _blank

This commit is contained in:
Ralf Becker
2014-11-28 12:43:10 +00:00
parent 56cd25d845
commit 7ecc088c35
2 changed files with 15 additions and 1 deletions

View File

@@ -115,6 +115,12 @@ app.classes.admin = AppJS.extend(
this.egw.message(this.egw.lang('Please submit (or postpone) statistic first'), 'info');
return; // do not allow to leave statistics submit
}
// url outside EGroupware eg. eSyncPro linking to wikipedia
if (_url && _url.indexOf(this.egw.webserverUrl) == -1)
{
window.open(_url, '_blank');
return;
}
if (_url)
{
this.iframe.set_src(_url);