Reduce complexity of checking whether system should be rebooted after RAM Disk option change. Also fix the issue when RAM Disk option is changed, but there is an input error and thus on subsequent form submitting there is no question about rebooting. Small JavaScript cleanup and refactoring.
Reduce complexity of checking whether system should be rebooted after RAM Disk option change.
Also fix the issue when RAM Disk option is changed, but there is an input error and thus on subsequent form submitting there is no question about rebooting.
Small JavaScript cleanup and refactoring.