mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-708: Do not allow user selection within text input (in case a user presses Ctrl+A, for example).
This commit is contained in:
@@ -2244,6 +2244,11 @@ GuacUI.Client.attach = function(guac) {
|
|||||||
|
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
|
// Do not allow event target contents to be selected during input
|
||||||
|
GuacUI.Client.text_input.target.addEventListener("selectstart", function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
}, false);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Zoom
|
* Zoom
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user