mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
add connect error handling
This commit is contained in:
parent
503a18926b
commit
2ad4785b2b
@ -95,8 +95,17 @@
|
||||
|
||||
}).done(function () {
|
||||
|
||||
Dashboard.alert(Globalize.translate('SettingsSaved'));
|
||||
loadData(page);
|
||||
Dashboard.alert({
|
||||
|
||||
message: Globalize.translate('MessageMediaBrowserAccontRemoved'),
|
||||
title: Globalize.translate('HeaderMediaBrowserAccountRemoved'),
|
||||
|
||||
callback: function () {
|
||||
|
||||
loadData(page);
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -28,7 +28,10 @@
|
||||
<li id="fldConnectInfo" style="display: none;">
|
||||
<label for="txtConnectUserName">${LabelConnectUserName}</label>
|
||||
<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 id="fldIsAdmin" style="display: none;">
|
||||
<input type="checkbox" id="chkIsAdmin" name="chkIsAdmin" />
|
||||
|
Loading…
Reference in New Issue
Block a user