mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
resolve problems in opening windows for viewing or editing in projectmanager
This commit is contained in:
parent
13571a6254
commit
e2cb9b44e7
@ -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':
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user