Fixed javascript error due to archive button permissions - http://www.zoneminder.com/forums/viewtopic.php?t=15387
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3286 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
45f1ee9c36
commit
240027dd98
|
@ -230,6 +230,8 @@ function getEventResponse( respObj, respText )
|
|||
$('dataScore').set( 'text', event.TotScore+"/"+event.AvgScore+"/"+event.MaxScore );
|
||||
$('eventName').setProperty( 'value', event.Name );
|
||||
|
||||
if ( canEditEvents )
|
||||
{
|
||||
if ( parseInt(event.Archived) )
|
||||
{
|
||||
$('archiveEvent').addClass( 'hidden' );
|
||||
|
@ -240,6 +242,7 @@ function getEventResponse( respObj, respText )
|
|||
$('archiveEvent').removeClass( 'hidden' );
|
||||
$('unarchiveEvent').addClass( 'hidden' );
|
||||
}
|
||||
}
|
||||
//var eventImg = $('eventImage');
|
||||
//eventImg.setStyles( { 'width': event.width, 'height': event.height } );
|
||||
drawProgressBar();
|
||||
|
|
Loading…
Reference in New Issue