run unit page: fix back button (#6223)

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
This commit is contained in:
Lars Hvam 2023-04-17 12:30:34 +02:00 committed by GitHub
parent 114ad4c72e
commit 22c84b6ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,11 @@ CLASS zcl_abapgit_gui_page_runit IMPLEMENTATION.
METHOD zif_abapgit_gui_event_handler~on_event.
RETURN.
IF ii_event->mv_action = zif_abapgit_definitions=>c_action-go_back.
rs_handled-state = zcl_abapgit_gui=>c_event_state-go_back.
ENDIF.
ENDMETHOD.
@ -177,6 +181,8 @@ CLASS zcl_abapgit_gui_page_runit IMPLEMENTATION.
FIELD-SYMBOLS <lt_params> TYPE string_table.
register_handlers( ).
CREATE OBJECT ri_html TYPE zcl_abapgit_html.
ri_html->add( '<div class="repo">' ).