mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Do not select next mail from the list after a reported spam mail
This commit is contained in:
parent
8b6acb00fa
commit
76ef9f5d4a
@ -5561,11 +5561,11 @@ app.classes.mail = AppJS.extend(
|
|||||||
var id,fromaddress,domain, email = '';
|
var id,fromaddress,domain, email = '';
|
||||||
var data = {};
|
var data = {};
|
||||||
var items = [];
|
var items = [];
|
||||||
|
var nm = this.et2.getWidgetById(this.nm_index);
|
||||||
|
|
||||||
// called action for a single row from toolbar
|
// called action for a single row from toolbar
|
||||||
if (_senders.length == 0)
|
if (_senders.length == 0)
|
||||||
{
|
{
|
||||||
var nm = this.et2.getWidgetById(this.nm_index);
|
|
||||||
_senders = [{id:nm.getSelection().ids[0]}];
|
_senders = [{id:nm.getSelection().ids[0]}];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5590,6 +5590,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
if (_data[1] && _data[1].length > 0)
|
if (_data[1] && _data[1].length > 0)
|
||||||
{
|
{
|
||||||
egw.refresh(_data[0],'mail',_data[1],'delete');
|
egw.refresh(_data[0],'mail',_data[1],'delete');
|
||||||
|
nm.controller._selectionMgr.resetSelection();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user