mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added Information Box for saving confirmation
A Box was added which is shown for 5 seconds if the server responds with "cmd-condig-setconfig"
This commit is contained in:
@@ -54,6 +54,12 @@ $(document).ready( function() {
|
||||
|
||||
showOptHelp = serverConfig.general.showOptHelp;
|
||||
});
|
||||
|
||||
$(hyperion).on("cmd-config-setconfig", function(event) {
|
||||
if (event.response.success === true) {
|
||||
$('#hyperion_config_write_success_notify').fadeIn().delay(5000).fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
$(hyperion).on("error",function(event){
|
||||
showInfoDialog("error","Error", event.reason);
|
||||
|
Reference in New Issue
Block a user