forked from External/greenlight
URI encode meeting name and only show invite/join when a name is entered
This commit is contained in:
parent
e3e154b99c
commit
540ab7d369
|
@ -140,7 +140,12 @@
|
|||
$(".page-wrapper.meetings").data('id', newId);
|
||||
$('.meeting-url').val(Meeting.getInstance().getURL());
|
||||
$('.join-meeting-title').html(I18n.join_title.replace(/%{id}/, newId));
|
||||
})
|
||||
if (newId === '') {
|
||||
$('.invite-join-wrapper').addClass('hidden');
|
||||
} else {
|
||||
$('.invite-join-wrapper').removeClass('hidden');
|
||||
}
|
||||
});
|
||||
|
||||
// enable tooltips
|
||||
var options = {
|
||||
|
|
|
@ -36,7 +36,7 @@ class @Meeting
|
|||
_meetingInstance = null
|
||||
|
||||
@buildMeetingURL: (id, type) ->
|
||||
return @buildFullDomainURL() + '/' + type + '/' + id
|
||||
return @buildFullDomainURL() + '/' + type + '/' + encodeURIComponent(id)
|
||||
|
||||
@buildFullDomainURL: ->
|
||||
url = location.protocol + '//' + location.hostname
|
||||
|
|
|
@ -36,7 +36,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row invite-join-wrapper">
|
||||
<div class="row invite-join-wrapper hidden">
|
||||
<div class="col-xs-6">
|
||||
<div class="title-wrapper text-center">
|
||||
<div class="title-invite">
|
||||
|
|
Loading…
Reference in New Issue