Set button states on editing a monitor

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2570 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2008-07-16 16:03:53 +00:00
parent 58c861cd67
commit 0a20de9c1f
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ function editMonitor( element )
var monitorId = form.elements[i].value; var monitorId = form.elements[i].value;
createPopup( '?view=monitor&mid='+monitorId, 'zmMonitor'+monitorId, 'monitor' ); createPopup( '?view=monitor&mid='+monitorId, 'zmMonitor'+monitorId, 'monitor' );
form.elements[i].checked = false; form.elements[i].checked = false;
$(form.elements[i]).getAncestor( 'tr' ).removeClass( 'highlight' ); setButtonStates( form.elements[i] );
//$(form.elements[i]).getAncestor( 'tr' ).removeClass( 'highlight' );
break; break;
} }
} }