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:
stan
2003-01-07 11:21:57 +00:00
parent 4b871c2925
commit b2d01ae1d8

View File

@@ -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 ) { ?>