Merge ../ZoneMinder.master
commit
21f38f85ec
|
@ -552,9 +552,9 @@ sub uploadArchFile
|
|||
$sftpOptions{timeout} = $Config{ZM_UPLOAD_TIMEOUT}
|
||||
if $Config{ZM_UPLOAD_TIMEOUT};
|
||||
my @more_ssh_args;
|
||||
push @more_ssh_args, ['-o'=>'StrictHostKeyChecking=no']
|
||||
if ! $Config{ZM_UPLOAD_STRICT};
|
||||
push @more_ssh_args, ['-v']
|
||||
push @more_ssh_args, '-o'=>'StrictHostKeyChecking=no'
|
||||
if ! $Config{ZM_UPLOAD_STRICT};
|
||||
push @more_ssh_args, '-v'
|
||||
if $Config{ZM_UPLOAD_DEBUG};
|
||||
$sftpOptions{more} = [@more_ssh_args];
|
||||
my $sftp = Net::SFTP::Foreign->new( $Config{ZM_UPLOAD_HOST}, %sftpOptions );
|
||||
|
|
|
@ -496,7 +496,7 @@ function getEventCmdResponse( respObj, respText )
|
|||
link.set( 'text', event.AvgScore+'/'+event.MaxScore );
|
||||
link.inject( row.getElement( 'td.colScore' ) );
|
||||
|
||||
link = new Element( 'a', { 'href': '#', 'title': deleteString, 'events': { 'click': function( event ) { deleteEvent( event, event.Id ); }.bind( link ), 'mouseover': highlightRow.pass( row ), 'mouseout': highlightRow.pass( row ) } });
|
||||
link = new Element( 'a', { 'href': '#', 'title': deleteString, 'events': { 'click': function( e ) { deleteEvent( event, event.Id ); }.bind( link ), 'mouseover': highlightRow.pass( row ), 'mouseout': highlightRow.pass( row ) } });
|
||||
link.set( 'text', 'X' );
|
||||
link.inject( row.getElement( 'td.colDelete' ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue