mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-17 05:23:13 +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
|
// Put required info in global store
|
||||||
var data = {};
|
var data = {};
|
||||||
|
if (!attachments) return;
|
||||||
for (var i = 0; i < attachments.length; i++)
|
for (var i = 0; i < attachments.length; i++)
|
||||||
{
|
{
|
||||||
var data = attachments[i] || {};
|
var data = attachments[i] || {};
|
||||||
|
Loading…
Reference in New Issue
Block a user