mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-30 20:49:17 +00:00
Template: Add comment to [space] toggle shortcut event lister.
This commit is contained in:
@@ -1063,7 +1063,7 @@ else {
|
||||
echo " window.addEventListener('keydown', function(e) {\n";
|
||||
|
||||
//list: [space] to toggle checked
|
||||
echo " if (e.which == 32 && !e.target.id != '#search' && list_checkboxes.length !== 0) {\n";
|
||||
echo " if (e.which == 32 && !e.target.id != '#search' && list_checkboxes.length !== 0) {\n"; //note: for default [space] checkbox behavior include: " && !(e.target.tagName == 'INPUT' && e.target.type == 'checkbox')"
|
||||
echo " e.preventDefault();\n";
|
||||
echo " var list_toggle_button;\n";
|
||||
echo " list_toggle_button = document.querySelector('button[name=btn_toggle]');\n";
|
||||
|
||||
Reference in New Issue
Block a user