This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new c50ca91 [OPENMEETINGS-1934] delete by key should be fixed
c50ca91 is described below
commit c50ca91a76f63f00d1f98a0a55c9af51671f0ed7
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 2d7e537..71a25b9 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();
}
}