bigbluebutton-Github/bigbluebutton-html5/app/client/views/modals/modals.coffee
2015-05-12 10:56:20 -07:00

20 lines
781 B
CoffeeScript
Executable File

Template.bbbSettingsInfo.helpers
getBBBSettingsInfo: ->
info = getBuildInformation()
result = "(c) #{info.copyrightYear} BigBlueButton Inc. [build #{info.html5ClientBuild}] - For more information visit #{info.link}"
Template.settingsAudio.events
"click #joinMicrophone": (event) -> joinVoiceCall @, isListenOnly: false
"click #joinListenOnly": (event) -> joinVoiceCall @, isListenOnly: true
"click #exitAudio": -> exitVoiceCall()
"click .joinAudioButton": (event) -> $("#settingsModal").foundation('reveal', 'close')
Template.settingsCloseButton.events
"click .closeSettings": -> setInSession "messageFontSize", getInSession("tempFontSize")
Template.settingsSaveButton.events
"click #saveSettings": -> $("#settingsModal").foundation('reveal', 'close');