mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 11:36:59 +00:00
Update content_index.js (#1360)
This commit is contained in:
parent
8b1267d059
commit
e51a42dc14
@ -208,7 +208,10 @@ $(document).ready(function () {
|
|||||||
removeStorage("loginToken", true);
|
removeStorage("loginToken", true);
|
||||||
requestRequiresAdminAuth();
|
requestRequiresAdminAuth();
|
||||||
}
|
}
|
||||||
else {
|
else if (event.reason == "Selected Hyperion instance isn't running") {
|
||||||
|
//Switch to default instance
|
||||||
|
instanceSwitch(0);
|
||||||
|
} else {
|
||||||
showInfoDialog("error", "Error", event.reason);
|
showInfoDialog("error", "Error", event.reason);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user