refactor meeting object naming

This commit is contained in:
Zachary Chai
2017-01-24 14:25:25 -05:00
parent e339dcd5b7
commit b30acae006
3 changed files with 20 additions and 20 deletions

View File

@ -80,7 +80,7 @@ class @Recordings
targets: -1,
render: (data, type, row) ->
if type == 'display'
roomName = Meeting.getInstance().getId()
roomName = Meeting.getInstance().getMeetingId()
recordingActions = $('.hidden-elements').find('.recording-actions')
classes = ['recording-unpublished', 'recording-unlisted', 'recording-published']
if row.published
@ -157,7 +157,7 @@ class @Recordings
# refresh the recordings from the server
refresh: ->
table_api = this.table.api()
$.get "/rooms/"+Meeting.getInstance().getId()+"/recordings", (data) =>
$.get "/rooms/"+Meeting.getInstance().getMeetingId()+"/recordings", (data) =>
@setOwner(data.is_owner)
if !@owner
table_api.column(-1).visible(false)