mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 04:19:41 +01:00
handle special egw-open param for nextmatch action when from=merge is involved (params meet different preconditions then)
This commit is contained in:
parent
05857ba73b
commit
94ff3e1966
@ -123,11 +123,22 @@ function nm_action(_action, _senders, _target, _ids)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Discard
|
// Discard , special handling when from=merge is involved
|
||||||
params.shift(params[2]);
|
if(params.length>1 && params[0]=='' && params[1].indexOf('from=merge')!=-1)
|
||||||
|
{
|
||||||
|
params.shift();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
params.shift(params[2]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//special handling when from=merge is involved
|
||||||
|
if(params.length>1 && params[0]=='' && params[1].indexOf('from=merge')!=-1)
|
||||||
|
{
|
||||||
|
params.shift();
|
||||||
|
}
|
||||||
// Re-join, in case extra has a -
|
// Re-join, in case extra has a -
|
||||||
var extra = params.join('-');
|
var extra = params.join('-');
|
||||||
egw(app,window).open(egw_open_id,app,type,extra,target);
|
egw(app,window).open(egw_open_id,app,type,extra,target);
|
||||||
|
Loading…
Reference in New Issue
Block a user