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 b4fb8fc  [OPENMEETINGS-2456] close button works as expected
b4fb8fc is described below

commit b4fb8fcae379fc6b054cf224f14b33662e984d7a
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Wed Sep 30 21:19:45 2020 +0700

    [OPENMEETINGS-2456] close button works as expected
---
 .../java/org/apache/openmeetings/web/room/poll/PollResultsDialog.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/poll/PollResultsDialog.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/poll/PollResultsDialog.java
index a51714b..8b9fe69 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/poll/PollResultsDialog.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/poll/PollResultsDialog.java
@@ -173,7 +173,7 @@ public class PollResultsDialog extends Modal<RoomPoll> {
                StringBuilder sb = new StringBuilder()
                                
.append("$('#").append(chartDiv.getMarkupId()).append("').html(''); ");
                if (onShow) {
-                       
sb.append("$('#").append(getMarkupId()).append("').off().on('shown.bs.modal', 
function (e) {\n");
+                       
sb.append("$('#").append(getMarkupId()).append("').off('shown.bs.modal').on('shown.bs.modal',
 function (e) {\n");
                }
                
sb.append("$.jqplot('").append(chartDiv.getMarkupId()).append("', ")
                                .append(chart.getChartData().toJsonString())

Reply via email to