This commit is contained in:
Seth Call 2015-09-28 14:07:28 -05:00
parent f80790b1e9
commit 619f3fc680
1 changed files with 4 additions and 10 deletions

View File

@ -25,14 +25,14 @@ RecordingStore = reactContext.RecordingStore
if accessOpener
mixins.push(Reflux.listenTo(RecordingStore,"onRecordingStateChanged"))
mixins.push(Reflux.listenTo(MixerStore,"onMixersChanged"))
# mixins.push(Reflux.listenTo(MixerStore,"onMixersChanged"))
@PopupRecordingStartStop = React.createClass({
mixins: mixins
onMixersChanged: (mixers) ->
this.setState(chatMixer: mixers.chatMixer)
#onMixersChanged: (mixers) ->
# this.setState(chatMixer: mixers.chatMixer)
onRecordingStateChanged: (recordingState) ->
this.setState(isRecording: recordingState.isRecording, recordedOnce: this.state.recordedOnce || recordingState.isRecording)
@ -54,7 +54,7 @@ if accessOpener
recordVideo = WebCamRecordActive
recordChat = if @state.chatMixer? then $root.find('#include-chat').is(':checked') else false
recordChat = $root.find('#include-chat').is(':checked')
# if the video window isn't open, but a video option was selected...
@ -199,8 +199,6 @@ if accessOpener
$includeChat = $root.find('#include-chat')
context.JK.checkbox($includeChat)
if !@state.chatMixer?
$includeChat.iCheck('disable')
@ -214,10 +212,6 @@ if accessOpener
$root = jQuery(this.getDOMNode())
$includeChat = $root.find('#include-chat')
if @state.chatMixer?
$includeChat.iCheck('enable')
else
$includeChat.iCheck('disable')
resizeWindow: () =>
$container = $('#minimal-container')