Add download menu option to media items

This commit is contained in:
Claus Vium 2019-01-25 22:43:26 +01:00
parent f3df5c9ed2
commit f8cb517376

View File

@ -211,11 +211,11 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
}
if (user.Policy.EnableContentDownloading && appHost.supports('filedownload')) {
//items.push({
// name: Globalize.translate('ButtonDownload'),
// id: 'download',
// ironIcon: 'file-download'
//});
menuItems.push({
name: Globalize.translate('ButtonDownload'),
id: 'download',
ironIcon: 'file-download'
});
}
if (user.Policy.EnableContentDownloading && appHost.supports('sync')) {
@ -629,4 +629,4 @@ define(['browser', 'appStorage', 'apphost', 'loading', 'connectionManager', 'glo
});
};
};
});
});