This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/4.0.x by this push:
     new 4b4ab8f  [OPENMEETINGS-1934] delete by key should be fixed
4b4ab8f is described below

commit 4b4ab8ffbaa6bb278ddf178d0962ac92f0f317ff
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Tue Oct 23 15:19:12 2018 +0700

    [OPENMEETINGS-1934] delete by key should be fixed
---
 .../src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-area.js    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-area.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-area.js
index 62d81e4..ee81cc8 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-area.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-area.js
@@ -86,6 +86,8 @@ var DrawWbArea = function() {
                        switch (e.which) {
                                case 8:  // backspace
                                case 46: // delete
+                                       e.preventDefault();
+                                       e.stopImmediatePropagation();
                                        return _performDelete();
                        }
                }

Reply via email to