mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
made xml saver methods a little cleaner
This commit is contained in:
parent
b20f803a51
commit
c374e3c671
2 changed files with 7 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
<button id="btnUpdateApplication" type="button" data-icon="download" data-theme="b" onclick="DashboardPage.updateApplication();">Update Now</button>
|
||||
</div>
|
||||
<p id="ports"></p>
|
||||
<p>Program data path: <span id="programDataPath"></span></p>
|
||||
<p id="pProgramDataPath" style="display: none;">Program data path: <span id="programDataPath"></span></p>
|
||||
<p>Bookmark url: <a id="bookmarkUrl" href="#" data-ajax="false" onclick="return !DashboardPage.bookmarkPageIfSupported(this.href);"></a></p>
|
||||
<div id="pPluginUpdates"></div>
|
||||
</div>
|
||||
|
|
|
@ -282,6 +282,12 @@
|
|||
|
||||
$('#programDataPath', page).html(dashboardInfo.SystemInfo.ProgramDataPath);
|
||||
|
||||
if (window.location.toString().toLowerCase().indexOf('localhost') == -1) {
|
||||
$('#pProgramDataPath', page).hide();
|
||||
} else {
|
||||
$('#pProgramDataPath', page).hide();
|
||||
}
|
||||
|
||||
var host = ApiClient.serverHostName();
|
||||
|
||||
var url = "http://" + host + ":" + port + "/mediabrowser";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue