mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +01:00
Make sure there are attachments to register them for drag
This commit is contained in:
parent
98d5c4ff51
commit
66e5004591
@ -992,6 +992,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