[FIX] ZM 1.24.2: Disabling a monitor from monitor options
Posted: Fri Jan 29, 2010 9:50 pm
How to reproduce:
Try to disable an enabled monitor (in any mode) from the monitor options page, the monitor will remain enabled.
NOTE: Enabling however works, and enabling\disabling from monitor function page also works.
In file includes/actions.php, edit the following, which starts at line 1101 (May vary from installation to installation)
Change it from:
To:
mastertheknife.
Try to disable an enabled monitor (in any mode) from the monitor options page, the monitor will remain enabled.
NOTE: Enabling however works, and enabling\disabling from monitor function page also works.
In file includes/actions.php, edit the following, which starts at line 1101 (May vary from installation to installation)
Change it from:
Code: Select all
$types = array(
'Triggers' => 'set',
'Controllable' => 'toggle',
'TrackMotion' => 'toggle',
);
Code: Select all
$types = array(
'Triggers' => 'set',
'Controllable' => 'toggle',
'TrackMotion' => 'toggle',
'Enabled' => 'toggle'
);