mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Make sure there are attachments to register them for drag
This commit is contained in:
parent
650be336eb
commit
96dfb6d04f
@ -929,6 +929,7 @@ app.classes.mail = AppJS.extend(
|
||||
{
|
||||
// Put required info in global store
|
||||
var data = {};
|
||||
if (!attachments) return;
|
||||
for (var i = 0; i < attachments.length; i++)
|
||||
{
|
||||
var data = attachments[i] || {};
|
||||
|
Loading…
Reference in New Issue
Block a user