mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 13:03:01 +08:00
Enable Command Palette for radio buttons (#5894)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
This commit is contained in:
parent
7190cab413
commit
27f4331652
|
@ -2443,6 +2443,17 @@ function enumerateUiActions() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// radio buttons
|
||||||
|
[].slice.call(document.querySelectorAll("input[type='radio']"))
|
||||||
|
.forEach(function(input){
|
||||||
|
items.push({
|
||||||
|
action: function(){
|
||||||
|
input.click();
|
||||||
|
},
|
||||||
|
title: document.querySelector("label[for='" + input.id + "']").textContent
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
// others:
|
// others:
|
||||||
// - links inside forms
|
// - links inside forms
|
||||||
// - label links
|
// - label links
|
||||||
|
|
Loading…
Reference in New Issue
Block a user