22 lines
914 B
CoffeeScript
Executable File
22 lines
914 B
CoffeeScript
Executable File
Template.settingsModal.helpers
|
|
getBBBSettingsInfo: ->
|
|
info = getBuildInformation()
|
|
result = "(c) #{info.copyrightYear} BigBlueButton Inc. [build #{info.html5ClientBuild}] - For more information visit #{info.link}"
|
|
|
|
Template.logoutModal.events
|
|
"click #yes": -> userLogout(getInSession("meetingId"), getInSession("userId"))
|
|
"click #no": -> $("#logoutModal").foundation('reveal', 'close');
|
|
|
|
Template.settingsAudio.events
|
|
"click #exitAudio": -> exitVoiceCall()
|
|
|
|
"click .joinAudioButton": (event) -> $("#settingsModal").foundation('reveal', 'close')
|
|
|
|
"click #joinListenOnly": (event) -> joinVoiceCall @, isListenOnly: true
|
|
|
|
"click #joinMicrophone": (event) -> joinVoiceCall @, isListenOnly: false
|
|
|
|
Template.settingsModal.events
|
|
"click .closeSettings": -> setInSession "messageFontSize", getInSession("tempFontSize")
|
|
"click #saveSettings": -> $("#settingsModal").foundation('reveal', 'close');
|