1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add connect error handling

This commit is contained in:
Luke Pulverenti 2014-09-14 13:12:47 -04:00
parent 503a18926b
commit 2ad4785b2b
2 changed files with 15 additions and 3 deletions

View file

@ -95,8 +95,17 @@
}).done(function () { }).done(function () {
Dashboard.alert(Globalize.translate('SettingsSaved')); Dashboard.alert({
loadData(page);
message: Globalize.translate('MessageMediaBrowserAccontRemoved'),
title: Globalize.translate('HeaderMediaBrowserAccountRemoved'),
callback: function () {
loadData(page);
}
});
}); });
} }

View file

@ -28,7 +28,10 @@
<li id="fldConnectInfo" style="display: none;"> <li id="fldConnectInfo" style="display: none;">
<label for="txtConnectUserName">${LabelConnectUserName}</label> <label for="txtConnectUserName">${LabelConnectUserName}</label>
<input id="txtConnectUserName" type="text" /> <input id="txtConnectUserName" type="text" />
<div class="fieldDescription">${LabelConnectUserNameHelp}</div> <div class="fieldDescription">
<div>${LabelConnectUserNameHelp}</div>
<div style="margin-top: .75em;"><a href="http://mediabrowser.tv" target="_blank">${ButtonLearnMoreAboutMediaBrowserConnect}</a></div>
</div>
</li> </li>
<li id="fldIsAdmin" style="display: none;"> <li id="fldIsAdmin" style="display: none;">
<input type="checkbox" id="chkIsAdmin" name="chkIsAdmin" /> <input type="checkbox" id="chkIsAdmin" name="chkIsAdmin" />