Merge pull request #74 from cvium/master

Add download menu option to media items
This commit is contained in:
Vasily 2019-01-30 15:53:08 +03:00 committed by GitHub
commit 0db5ebf618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
});
};
};
});
});