mirror of
https://github.com/unraid/api.git
synced 2026-01-23 00:49:39 -06:00
improvement(plg): add condtl timed redirect after REG_WIZARD postMessage
This commit is contained in:
@@ -849,6 +849,9 @@ function handleMessage(e) {
|
||||
}
|
||||
$.post('/update.php', postargs, function() {
|
||||
console.log('dynamix/dynamix.cfg: Updated apikey under [remote] section');
|
||||
if (!data.license) {
|
||||
setTimeout(function(){ window.location.href = '/Main'; }, 500);
|
||||
}
|
||||
}).fail(function() {
|
||||
console.error('Failed to update apikey under [remote] section');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user