mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated translations
This commit is contained in:
parent
d02d29f33e
commit
9c61eb5dd7
40 changed files with 181 additions and 203 deletions
|
@ -26,26 +26,6 @@
|
|||
Dashboard.hideLoadingMsg();
|
||||
},
|
||||
|
||||
loadItemTypes: function (page, configuration, types) {
|
||||
|
||||
var html = '<div data-role="controlgroup">';
|
||||
|
||||
for (var i = 0, length = types.length; i < length; i++) {
|
||||
|
||||
var type = types[i];
|
||||
var id = "checkbox-" + i + "a";
|
||||
|
||||
var checkedAttribute = configuration.InternetProviderExcludeTypes.indexOf(type) != -1 ? ' checked="checked"' : '';
|
||||
|
||||
html += '<input' + checkedAttribute + ' class="chkItemType" data-mini="true" data-itemtype="' + type + '" type="checkbox" name="' + id + '" id="' + id + '" />';
|
||||
html += '<label for="' + id + '">' + type + '</label>';
|
||||
}
|
||||
|
||||
html += "</div>";
|
||||
|
||||
$('#divItemTypes', page).html(html).trigger("create");
|
||||
},
|
||||
|
||||
onSubmit: function () {
|
||||
var form = this;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue