From 0a20de9c1f1eeb0a96e8395af16458c5f19a5649 Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 16 Jul 2008 16:03:53 +0000 Subject: [PATCH] Set button states on editing a monitor git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2570 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/skins/classic/views/js/console.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/console.js b/web/skins/classic/views/js/console.js index 32752ca5d..214e4ec60 100644 --- a/web/skins/classic/views/js/console.js +++ b/web/skins/classic/views/js/console.js @@ -30,7 +30,8 @@ function editMonitor( element ) var monitorId = form.elements[i].value; createPopup( '?view=monitor&mid='+monitorId, 'zmMonitor'+monitorId, 'monitor' ); form.elements[i].checked = false; - $(form.elements[i]).getAncestor( 'tr' ).removeClass( 'highlight' ); + setButtonStates( form.elements[i] ); + //$(form.elements[i]).getAncestor( 'tr' ).removeClass( 'highlight' ); break; } }