From f8cb51737667c1302026cb02bcb085e767557d7b Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Fri, 25 Jan 2019 22:43:26 +0100 Subject: [PATCH] Add download menu option to media items --- .../emby-webcomponents/multiselect/multiselect.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bower_components/emby-webcomponents/multiselect/multiselect.js b/src/bower_components/emby-webcomponents/multiselect/multiselect.js index 764247c50c..9e58e8b0ff 100644 --- a/src/bower_components/emby-webcomponents/multiselect/multiselect.js +++ b/src/bower_components/emby-webcomponents/multiselect/multiselect.js @@ -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 }); }; }; -}); \ No newline at end of file +});