Merge pull request #1672 from kylejohnson/1671-watch-view-event-delete
Fix event deletion from watch view. Fixes #1671
This commit is contained in:
commit
976c2eee0f
|
@ -496,7 +496,7 @@ function getEventCmdResponse( respObj, respText )
|
||||||
link.set( 'text', event.AvgScore+'/'+event.MaxScore );
|
link.set( 'text', event.AvgScore+'/'+event.MaxScore );
|
||||||
link.inject( row.getElement( 'td.colScore' ) );
|
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.set( 'text', 'X' );
|
||||||
link.inject( row.getElement( 'td.colDelete' ) );
|
link.inject( row.getElement( 'td.colDelete' ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue