mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-19 22:37:36 -04:00
Conditionally commented out the learn_btn and learn_state.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@248 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
@@ -794,8 +794,10 @@ function checkAll(form,name){
|
||||
if (form.elements[i].name.indexOf(name) == 0)
|
||||
form.elements[i].checked = 1;
|
||||
form.delete_btn.disabled = false;
|
||||
<?php if ( LEARN_MODE ) { ?>
|
||||
form.learn_btn.disabled = false;
|
||||
form.learn_state.disabled = false;
|
||||
<?php } ?>
|
||||
}
|
||||
function configureButton(form,name)
|
||||
{
|
||||
@@ -812,8 +814,10 @@ function configureButton(form,name)
|
||||
}
|
||||
}
|
||||
form.delete_btn.disabled = !checked;
|
||||
<?php if ( LEARN_MODE ) { ?>
|
||||
form.learn_btn.disabled = !checked;
|
||||
form.learn_state.disabled = !checked;
|
||||
<?php } ?>
|
||||
}
|
||||
window.focus();
|
||||
<?php if ( $filter ) { ?>
|
||||
|
||||
Reference in New Issue
Block a user