fix bug regarding actions on all selected mails (selected via checkbox) reported by zorg

This commit is contained in:
Klaus Leithoff 2014-02-12 12:40:38 +00:00
parent 2283421e2c
commit 506f232723

View File

@ -53,7 +53,7 @@ function mailGridGetSelected()
{
// select messagesv from mailGrid
var allSelected = mailGrid.dataRoot.actionObject.getSelectedObjects();
var messages = {};
var messages = {msg:[]};
// allSelected[i].id hält die id
// zurückseten iteration über allSelected (getSelectedObjects) und dann allSelected[i].setSelected(false);
if (allSelected.length>0) messages['msg'] = [];
@ -61,7 +61,7 @@ function mailGridGetSelected()
{
if (allSelected[i].id.length>0)
{
messages['msg'][i] = allSelected[i].id;
messages['msg'].push(allSelected[i].id);
//alert(i+': ID->'+messages['msg'][i]);
}
}