From d12707b14d1aab1506f3266b23332454dd0fd894 Mon Sep 17 00:00:00 2001 From: Chad Pilkey Date: Thu, 28 Mar 2019 14:53:42 -0700 Subject: [PATCH] add modal warnings for edge users --- .../audio/audio-modal/component.jsx | 72 ++++++++++++------- .../audio/audio-modal/container.jsx | 1 + .../components/audio/audio-modal/styles.scss | 8 +++ .../ui/components/video-preview/component.jsx | 30 ++++++-- .../ui/components/video-preview/styles.scss | 8 +++ bigbluebutton-html5/private/locales/en.json | 1 + 6 files changed, 87 insertions(+), 33 deletions(-) mode change 100644 => 100755 bigbluebutton-html5/imports/ui/components/video-preview/styles.scss diff --git a/bigbluebutton-html5/imports/ui/components/audio/audio-modal/component.jsx b/bigbluebutton-html5/imports/ui/components/audio/audio-modal/component.jsx index 6d46222a19..4c8fe30c15 100755 --- a/bigbluebutton-html5/imports/ui/components/audio/audio-modal/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/audio/audio-modal/component.jsx @@ -1,8 +1,11 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; +import cx from 'classnames'; import Modal from '/imports/ui/components/modal/simple/component'; import Button from '/imports/ui/components/button/component'; -import { defineMessages, injectIntl, intlShape } from 'react-intl'; +import { + defineMessages, injectIntl, intlShape, FormattedMessage, +} from 'react-intl'; import { styles } from './styles'; import PermissionsOverlay from '../permissions-overlay/component'; import AudioSettings from '../audio-settings/component'; @@ -264,38 +267,53 @@ class AudioModal extends Component { skipCheck, audioLocked, isMobileNative, + isIEOrEdge, } = this.props; const showMicrophone = forceListenOnlyAttendee || audioLocked; return ( - - {!showMicrophone && !isMobileNative - ? ( -