mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
drop jqm collapsible
This commit is contained in:
parent
b796e249e3
commit
45b881dd00
8 changed files with 240 additions and 84 deletions
|
@ -1491,7 +1491,7 @@ var AppInfo = {};
|
|||
// This doesn't perform well on iOS
|
||||
AppInfo.enableHeadRoom = !isIOS;
|
||||
|
||||
AppInfo.supportsDownloading = !(AppInfo.isNativeApp && isIOS);
|
||||
AppInfo.supportsDownloading = !(AppInfo.isNativeApp);
|
||||
|
||||
// This currently isn't working on android, unfortunately
|
||||
AppInfo.supportsFileInput = !(AppInfo.isNativeApp && isAndroid);
|
||||
|
@ -1842,6 +1842,7 @@ var AppInfo = {};
|
|||
define("paper-item-body", ["html!" + bowerPath + "/paper-item/paper-item-body.html"]);
|
||||
|
||||
define("paper-collapse-item", ["html!" + bowerPath + "/paper-collapse-item/paper-collapse-item.html"]);
|
||||
define("emby-collapsible", ["html!" + bowerPath + "/emby-collapsible/emby-collapsible.html"]);
|
||||
|
||||
define("jstree", [bowerPath + "/jstree/dist/jstree", "css!thirdparty/jstree/themes/default/style.min.css"]);
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
require(['paper-checkbox', 'paper-input', 'jqmcollapsible'], function () {
|
||||
require(['paper-checkbox', 'paper-input', 'emby-collapsible'], function () {
|
||||
renderFormInternal(options);
|
||||
resolve();
|
||||
});
|
||||
|
@ -162,8 +162,7 @@
|
|||
dialogOptions.Options.indexOf('ItemLimit') != -1) {
|
||||
|
||||
html += '<br/>';
|
||||
html += '<div data-role="collapsible" data-mini="true">';
|
||||
html += '<h2>' + Globalize.translate('HeaderAdvanced') + '</h2>';
|
||||
html += '<emby-collapsible title="' + Globalize.translate('HeaderAdvanced') + '">';
|
||||
html += '<div style="padding:0 0 1em;">';
|
||||
if (dialogOptions.Options.indexOf('SyncNewContent') != -1) {
|
||||
html += '<br/>';
|
||||
|
@ -179,14 +178,14 @@
|
|||
html += '<div class="fieldDescription">' + Globalize.translate('LabelItemLimitHelp') + '</div>';
|
||||
html += '</div>';
|
||||
}
|
||||
html += '</div>';
|
||||
html += '</emby-collapsible>';
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
//html += '</div>';
|
||||
//html += '</div>';
|
||||
|
||||
$(elem).html(html).trigger('create');
|
||||
$(elem).html(html);
|
||||
|
||||
$('#selectSyncTarget', elem).on('change', function () {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue