* wip
This commit is contained in:
parent
f80790b1e9
commit
619f3fc680
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue