From 9fe76ce2d83bbf975980ab7ff941ef59f11ba7cb Mon Sep 17 00:00:00 2001 From: Pedro Beschorner Marin Date: Mon, 6 Feb 2017 16:29:09 +0000 Subject: [PATCH] Avoid record warning if record button is disabled --- .../src/org/bigbluebutton/main/views/RecordButton.mxml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/views/RecordButton.mxml b/bigbluebutton-client/src/org/bigbluebutton/main/views/RecordButton.mxml index c1aab7c84a..738cc3c219 100644 --- a/bigbluebutton-client/src/org/bigbluebutton/main/views/RecordButton.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/main/views/RecordButton.mxml @@ -170,7 +170,8 @@ with BigBlueButton; if not, see . if (firstAudioJoin && this.visible && !this.selected && layoutOptions.showRecordingNotification && UserManager.getInstance().getConference().amIModerator() - && MeetingModel.getInstance().meeting.allowStartStopRecording) { + && MeetingModel.getInstance().meeting.allowStartStopRecording + && this.enabled) { var alert:Alert = Alert.show(ResourceUtil.getInstance().getString("bbb.mainToolbar.recordBtn..notification.message1") + "\n\n" + ResourceUtil.getInstance().getString("bbb.mainToolbar.recordBtn..notification.message2"), ResourceUtil.getInstance().getString("bbb.mainToolbar.recordBtn..notification.title"), Alert.OK, this); // we need to set transparency duration to avoid the blur effect when two alerts are displayed sequentially alert.setStyle("modalTransparencyDuration", 250);