mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Allow possibility to include select all flag in url in addition to selected IDs
This commit is contained in:
parent
15ddeb2a24
commit
1273955f9d
@ -68,7 +68,10 @@ function nm_action(_action, _senders, _target, _ids)
|
||||
var url = '#';
|
||||
if (typeof _action.data.url != 'undefined')
|
||||
{
|
||||
url = _action.data.url.replace(/(\$|%24)id/,encodeURIComponent(ids));
|
||||
// Add selected IDs to url
|
||||
url = _action.data.url.replace(/(\$|%24)id/,encodeURIComponent(ids))
|
||||
// Include select all flag too
|
||||
.replace(/(\$|%24)select_all/,_ids.all);
|
||||
}
|
||||
|
||||
var target = null;
|
||||
|
Loading…
Reference in New Issue
Block a user