-> style scroll bars
-> hint text next to section titles
-> clickable hints
--> update mechanism should not say "ok" until the server reloads
-> implement working schedule (add another combo deciding what to do during working schedule)
-> implement notifications
showModalDialog('<div class="modal-progress"></div>');
ajax('POST', '/update/?version=' + data.update_version, null, function (result) {
if (result) {
- runAlertDialog('motionEye was successfully updated!', function () {
- window.location.reload(true);
- });
+ setTimeout(function () {
+ runAlertDialog('motionEye was successfully updated!', function () {
+ window.location.reload(true);
+ });
+ }, 2000);
}
else {
runAlertDialog('Update failed!', function () {
});
}
});
+
+ return false; /* prevents hiding the modal container */
});
}
});
fetchCurrentConfig();
refreshCameraFrames();
});
+