File tree Expand file tree Collapse file tree
intelmq_manager/static/js Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function redraw_logs() {
6666 let has_button = false ;
6767
6868 if ( log_row . extended_message ) {
69- buttons_cell = `<button type="submit" class="btn btn-default btn-xs" data-toggle="modal" data-target="#extended-message-modal" id="button-extended-message-${ index } "><span class="glyphicon glyphicon-plus"></span></button>` ;
69+ var buttons_cell = `<button type="submit" class="btn btn-default btn-xs" data-toggle="modal" data-target="#extended-message-modal" id="button-extended-message-${ index } "><span class="glyphicon glyphicon-plus"></span></button>` ;
7070 has_button = true ;
7171 log_row . actions = buttons_cell ;
7272 } else if ( log_row . message . length > MESSAGE_LENGTH ) {
@@ -84,7 +84,7 @@ function redraw_logs() {
8484
8585 $ ( '#log-table' ) . dataTable ( ) . fnAddData ( log_row ) ;
8686 if ( has_button ) {
87- extended_message_func = message_index => show_extended_message ( message_index ) ;
87+ var extended_message_func = message_index => show_extended_message ( message_index ) ;
8888 document . getElementById ( `button-extended-message-${ index } ` ) . addEventListener ( 'click' , function ( index ) {
8989 return function ( ) {
9090 extended_message_func ( index )
You can’t perform that action at this time.
0 commit comments