mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 11:36:52 +00:00
System settings page fixes
1. System.html Don't submit when nothing has changed. 2. sync the file system after writing system settings.
This commit is contained in:
@@ -106,7 +106,11 @@ function SaveSettings()
|
||||
param += "strict=" + (NewSettings.strictEnabled?"1":"0");
|
||||
}
|
||||
|
||||
location.replace('/systemsettings.lua?'+param);
|
||||
document.getElementById("SetButton").disabled = true;
|
||||
if( param != "" )
|
||||
{
|
||||
location.replace('/systemsettings.lua?'+param);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user