mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00
* Fix close hotkey overview popup * Add text how to close hotskeys overview
This commit is contained in:
parent
d329a2d69f
commit
f46e1e1c59
|
@ -18,8 +18,8 @@ CLASS zcl_abapgit_gui_chunk_lib DEFINITION PUBLIC FINAL CREATE PUBLIC.
|
|||
RAISING zcx_abapgit_exception.
|
||||
|
||||
CLASS-METHODS render_item_state
|
||||
IMPORTING iv_lstate TYPE char1
|
||||
iv_rstate TYPE char1
|
||||
IMPORTING iv_lstate TYPE char1
|
||||
iv_rstate TYPE char1
|
||||
RETURNING VALUE(rv_html) TYPE string.
|
||||
|
||||
CLASS-METHODS render_branch_span
|
||||
|
@ -49,7 +49,7 @@ ENDCLASS.
|
|||
|
||||
|
||||
|
||||
CLASS ZCL_ABAPGIT_GUI_CHUNK_LIB IMPLEMENTATION.
|
||||
CLASS zcl_abapgit_gui_chunk_lib IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD render_branch_span.
|
||||
|
@ -125,10 +125,12 @@ CLASS ZCL_ABAPGIT_GUI_CHUNK_LIB IMPLEMENTATION.
|
|||
&& zcl_abapgit_html=>a(
|
||||
iv_txt = '❌'
|
||||
iv_typ = zif_abapgit_definitions=>c_action_type-onclick
|
||||
iv_act = 'displayNews()'
|
||||
iv_act = 'closeHotkeyOverview()'
|
||||
iv_class = 'close-btn' )
|
||||
&& '</div></div>' ).
|
||||
|
||||
ro_html->add( |<div class="paddings">Close window with ? or upper right corner X</div>| ).
|
||||
|
||||
" Generate hotkeys
|
||||
ro_html->add( |<div class="newslist">| ).
|
||||
|
||||
|
|
|
@ -555,6 +555,12 @@ function displayNews() {
|
|||
div.style.display = (div.style.display) ? '' : 'none';
|
||||
}
|
||||
|
||||
// Hotkey Overview
|
||||
function closeHotkeyOverview() {
|
||||
var div = document.getElementById("hotkeys");
|
||||
div.style.display = (div.style.display) ? '' : 'none';
|
||||
}
|
||||
|
||||
function KeyNavigation() {
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user