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 206bbca  [OPENMEETINGS-2710] unenroll seems to be fixed
206bbca is described below

commit 206bbca5d001902ea7179e15149c237bb531f6e4
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Mon Nov 22 11:31:17 2021 +0700

    [OPENMEETINGS-2710] unenroll seems to be fixed
---
 openmeetings-web/src/main/front/room/src/quick-poll.js | 4 +---
 openmeetings-web/src/main/front/room/src/user-list.js  | 3 +--
 openmeetings-web/src/main/front/wb/src/wb-tools.js     | 4 +---
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/openmeetings-web/src/main/front/room/src/quick-poll.js 
b/openmeetings-web/src/main/front/room/src/quick-poll.js
index 50ffcc1..aad2053 100644
--- a/openmeetings-web/src/main/front/room/src/quick-poll.js
+++ b/openmeetings-web/src/main/front/room/src/quick-poll.js
@@ -12,9 +12,7 @@ function _setQuickPollRights() {
                        close
                                .confirmation({
                                        confirmationEvent: 'bla'
-                                       , onConfirm: function() {
-                                               quickPollAction('close');
-                                       }
+                                       , onConfirm: () => 
quickPollAction('close')
                                });
                } else {
                        close.hide();
diff --git a/openmeetings-web/src/main/front/room/src/user-list.js 
b/openmeetings-web/src/main/front/room/src/user-list.js
index 1c94628..d681358 100644
--- a/openmeetings-web/src/main/front/room/src/user-list.js
+++ b/openmeetings-web/src/main/front/room/src/user-list.js
@@ -36,8 +36,7 @@ function __activityIcon(elem, selector, predicate, action, 
confirm) {
                }
                icon.off();
                if (confirm) {
-                       icon.confirmation('dispose');
-                       icon.confirmation(confirm)
+                       icon.confirmation(confirm);
                } else {
                        icon.click(action);
                }
diff --git a/openmeetings-web/src/main/front/wb/src/wb-tools.js 
b/openmeetings-web/src/main/front/wb/src/wb-tools.js
index c65f3e5..165304a 100644
--- a/openmeetings-web/src/main/front/wb/src/wb-tools.js
+++ b/openmeetings-web/src/main/front/wb/src/wb-tools.js
@@ -343,9 +343,7 @@ module.exports = class WbTools {
                                        tools.find('.om-icon.clear-slide')
                                                .confirmation({
                                                        confirmationEvent: 
'om-clear-slide'
-                                                       , onConfirm: function() 
{
-                                                               
OmUtil.wbAction({action: 'clearSlide', data: {wbId: wb.getId(), slide: 
wb.slide}});
-                                                       }
+                                                       , onConfirm: () => 
OmUtil.wbAction({action: 'clearSlide', data: {wbId: wb.getId(), slide: 
wb.slide}})
                                                });
                                        
tools.find('.om-icon.save').click(function() {
                                                OmUtil.wbAction({action: 
'save', data: {wbId: wb.getId()}});

Reply via email to