Open in new window if target is not specified

This commit is contained in:
Nathan Gray 2012-04-25 16:23:27 +00:00
parent 8f488553c0
commit 55ad5a320b

View File

@ -38,6 +38,10 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd) {
open: function(id_data, app, type, extra, target)
{
var id;
if(typeof target === 'undefined')
{
target = '_blank';
}
if (!app)
{
if (typeof id_data != 'object')