mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-31 20:23:20 -04:00
Merge pull request #3039 from mnoorenberghe/monitor_function_disabled
Show correct enabled/disabled status in the function dialog
This commit is contained in:
@@ -167,7 +167,7 @@ function initPage() {
|
||||
return;
|
||||
}
|
||||
function_form.elements['newFunction'].value = monitor.Function;
|
||||
function_form.elements['newEnabled'].checked = monitor.Enabled;
|
||||
function_form.elements['newEnabled'].checked = monitor.Enabled == '1';
|
||||
function_form.elements['mid'].value = mid;
|
||||
document.getElementById('function_monitor_name').innerHTML = monitor.Name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user