resolve problems in opening windows for viewing or editing in projectmanager

This commit is contained in:
Frédéric Erpicum 2012-05-17 09:26:25 +00:00
parent 13571a6254
commit e2cb9b44e7
2 changed files with 3 additions and 2 deletions

View File

@ -189,7 +189,7 @@ function nm_action(_action, _senders)
console.log(params);
var egw_open_id = _senders[0].id;
if (typeof params[2] != 'undefined') egw_open_id = egw_open_id.split(':')[params[2]];
egw_open(egw_open_id,params[1],params[0],params[3]);
egw_open(egw_open_id,params[1],params[0],params[3],target);
break;
case 'open_popup':

View File

@ -46,7 +46,7 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd) {
{
if (typeof id_data != 'object')
{
var app_id = id.split(':',2);
var app_id = id_data.split(':',2);
app = app_id[0];
id = app_id[1];
}
@ -58,6 +58,7 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd) {
}
else if (app != 'file')
{
id = id_data;
id_data = { 'id': id, 'app': app, 'extra': extra };
}
var url;