mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update external subs
This commit is contained in:
parent
0f37b99468
commit
10bcfa593b
13 changed files with 110 additions and 101 deletions
|
@ -2520,6 +2520,11 @@
|
|||
|
||||
},
|
||||
|
||||
openViewPanel: function (btn, className) {
|
||||
|
||||
$('.' + className, jQuery(btn).parents('.page')).removeClass('hide').panel('toggle');
|
||||
},
|
||||
|
||||
getQueryPagingHtml: function (options) {
|
||||
|
||||
var startIndex = options.startIndex;
|
||||
|
@ -2583,7 +2588,7 @@
|
|||
//html += '<paper-button raised class="subdued notext"><iron-icon icon="view-comfy"></iron-icon></paper-button>';
|
||||
var viewPanelClass = options.viewPanelClass || 'viewPanel';
|
||||
var title = options.viewIcon == 'filter-list' ? Globalize.translate('ButtonFilter') : Globalize.translate('ButtonMenu');
|
||||
html += '<paper-icon-button title="' + title + '" icon="' + (options.viewIcon || AppInfo.moreIcon) + '" onclick="jQuery(\'.' + viewPanelClass + '\', jQuery(this).parents(\'.page\')).panel(\'toggle\');"></paper-icon-button>';
|
||||
html += '<paper-icon-button title="' + title + '" icon="' + (options.viewIcon || AppInfo.moreIcon) + '" onclick="LibraryBrowser.openViewPanel(this, \'' + viewPanelClass + '\');"></paper-icon-button>';
|
||||
}
|
||||
|
||||
html += '</div>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue