use egw object for given app and window, to open non-popup pm view in projectmanager iframe for jdots template

This commit is contained in:
Ralf Becker 2012-05-22 15:40:10 +00:00
parent 6ff1db3534
commit a415cbf259
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ function nm_action(_action, _senders, _target, _ids)
console.log(params);
var egw_open_id = idsArr[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(params[1],window).open(egw_open_id,params[1],params[0],params[3],target);
break;
case 'open_popup':

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],target);
egw(params[1],window).open(egw_open_id,params[1],params[0],params[3],target);
break;
case 'open_popup':