mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
39 lines
750 B
JavaScript
39 lines
750 B
JavaScript
(function ($, document, window) {
|
|
|
|
function loadProfile(page) {
|
|
|
|
Dashboard.showLoadingMsg();
|
|
|
|
var id = getParameterByName('id');
|
|
var url = id ? 'Dlna/Profiles/' + id :
|
|
'Dlna/Profiles/Default';
|
|
|
|
$.getJSON(ApiClient.getUrl(url)).done(function (result) {
|
|
|
|
renderProfile(page, result);
|
|
|
|
Dashboard.hideLoadingMsg();
|
|
});
|
|
}
|
|
|
|
function renderProfile(page, profile) {
|
|
|
|
}
|
|
|
|
$(document).on('pageshow', "#dlnaProfilePage", function () {
|
|
|
|
var page = this;
|
|
|
|
loadProfile(page);
|
|
|
|
});
|
|
|
|
window.DlnaProfilePage = {
|
|
|
|
onSubmit: function() {
|
|
|
|
return false;
|
|
}
|
|
};
|
|
|
|
})(jQuery, document, window);
|