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 b0326a6  [OPENMEETINGS-2100] record/share should work as expected
b0326a6 is described below

commit b0326a69e19be41a300b8e5c34896a9b93edcd41
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Thu Aug 15 15:01:05 2019 +0700

    [OPENMEETINGS-2100] record/share should work as expected
---
 .../src/main/java/org/apache/openmeetings/web/room/raw-video.js       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video.js 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video.js
index f62afeb..96f0d81 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video.js
@@ -10,7 +10,9 @@ var Video = (function() {
                return t.height() + 2 + (f.is(':visible') ? f.height() : 0);
        }
        function _resizeDlgArea(_w, _h) {
-               v.dialog('option', 'width', _w).dialog('option', 'height', _h);
+               if (v.dialog('instance')) {
+                       v.dialog('option', 'width', _w).dialog('option', 
'height', _h);
+               }
                const h = _h - _getExtra();
                _resize(_w, h);
                if (Room.getOptions().interview) {

Reply via email to