mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 08:49:00 +01:00
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:
parent
6ff1db3534
commit
a415cbf259
@ -107,7 +107,7 @@ function nm_action(_action, _senders, _target, _ids)
|
|||||||
console.log(params);
|
console.log(params);
|
||||||
var egw_open_id = idsArr[0].id;
|
var egw_open_id = idsArr[0].id;
|
||||||
if (typeof params[2] != 'undefined') egw_open_id = egw_open_id.split(':')[params[2]];
|
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;
|
break;
|
||||||
|
|
||||||
case 'open_popup':
|
case 'open_popup':
|
||||||
|
@ -189,7 +189,7 @@ function nm_action(_action, _senders)
|
|||||||
console.log(params);
|
console.log(params);
|
||||||
var egw_open_id = _senders[0].id;
|
var egw_open_id = _senders[0].id;
|
||||||
if (typeof params[2] != 'undefined') egw_open_id = egw_open_id.split(':')[params[2]];
|
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;
|
break;
|
||||||
|
|
||||||
case 'open_popup':
|
case 'open_popup':
|
||||||
|
Loading…
Reference in New Issue
Block a user