diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 553d6f6bd4..c5cb643003 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -401,7 +401,7 @@ } if (commands.indexOf('refresh') != -1) { - html += '
  • ' + Globalize.translate('ButtonRefresh') + '
  • '; + html += '
  • ' + Globalize.translate('ButtonRefresh') + '
  • '; } if (commands.indexOf('delete') != -1) { @@ -422,6 +422,8 @@ $('.btnMoreMenuRefresh', elem).on('click', function () { + $('.playFlyout').popup('close'); + ApiClient.refreshItem(itemId, { Recursive: true,