Supervision support added.

This commit is contained in:
Patrik Novotný
2017-12-20 17:50:47 +01:00
parent 046f1bf43c
commit e02b05dc7d
6 changed files with 46 additions and 5 deletions

View File

@@ -278,6 +278,13 @@ user_sql.loadDomainSettings = function(domain)
else
$('#' + key).prop('checked', false);
}
else if(key == 'set_supervisor')
{
if(data.settings[key] == 'true')
$('#' + key).prop('checked', true);
else
$('#' + key).prop('checked', false);
}
else if(key == 'set_enable_gethome')
{
if(data.settings[key] == 'true')