mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update to jquery mobile 1.4.3
This commit is contained in:
parent
db0a6eb632
commit
5bec78f61f
218 changed files with 116 additions and 89 deletions
|
@ -49,12 +49,20 @@
|
|||
values.SortOrder = query.SortOrder;
|
||||
}
|
||||
|
||||
localStorage.setItem(key + '_' + Dashboard.getCurrentUserId(), JSON.stringify(values));
|
||||
try {
|
||||
localStorage.setItem(key + '_' + Dashboard.getCurrentUserId(), JSON.stringify(values));
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
saveViewSetting: function (key, value) {
|
||||
|
||||
localStorage.setItem(key + '_' + Dashboard.getCurrentUserId() + '_view', value);
|
||||
try {
|
||||
localStorage.setItem(key + '_' + Dashboard.getCurrentUserId() + '_view', value);
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
getSavedViewSetting: function (key) {
|
||||
|
@ -1276,7 +1284,11 @@
|
|||
getPagingHtml: function (query, totalRecordCount, updatePageSizeSetting, pageSizes, showLimit) {
|
||||
|
||||
if (query.Limit && updatePageSizeSetting !== false) {
|
||||
localStorage.setItem('pagesize_', query.Limit);
|
||||
try {
|
||||
localStorage.setItem('pagesize_', query.Limit);
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
var html = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue