bigbluebutton-Github/bigbluebutton-html5/app/client/views/modals/modals.coffee
2015-05-12 07:48:11 -07:00

25 lines
768 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) ->
introToAudio @, isListenOnly: false
"click #joinListenOnly": (event) ->
introToAudio @, isListenOnly: true
"click #exitAudio": ->
exitVoiceCall()
"click .joinAudioButton": (event) ->
$("#settingsModal").foundation('reveal', 'close')
Template.settingsCloseButton.events
"click #closeSettings": ->
setInSession "messageFontSize", getInSession("tempFontSize")
"click #saveSettings": ->
$("#settingsModal").foundation('reveal', 'close');