|
|
@ -544,10 +544,12 @@ |
|
|
|
$( document ).ready(function() { |
|
|
|
$( document ).ready(function() { |
|
|
|
etherpad = { |
|
|
|
etherpad = { |
|
|
|
enabled: <%= get_opt_features->{etherpad} ? 'true' : 'false' %>, |
|
|
|
enabled: <%= get_opt_features->{etherpad} ? 'true' : 'false' %>, |
|
|
|
|
|
|
|
% if (get_opt_features->{etherpad}){ |
|
|
|
% my $ethuri = Mojo::URL->new($config->{'etherpad.uri'}); |
|
|
|
% my $ethuri = Mojo::URL->new($config->{'etherpad.uri'}); |
|
|
|
host: "<%= $ethuri->scheme . '://' . $ethuri->authority %>", |
|
|
|
host: "<%= $ethuri->scheme . '://' . $ethuri->authority %>", |
|
|
|
path: "<%= $ethuri->path . '/p/' %>", |
|
|
|
path: "<%= $ethuri->path . '/p/' %>", |
|
|
|
group: "<%= $etherpadGroup %>" |
|
|
|
group: "<%= $etherpadGroup %>" |
|
|
|
|
|
|
|
% } |
|
|
|
}; |
|
|
|
}; |
|
|
|
has_video = <%= ($video eq 'false') ? 'false' : 'true' %>; |
|
|
|
has_video = <%= ($video eq 'false') ? 'false' : 'true' %>; |
|
|
|
initJoin(roomName); |
|
|
|
initJoin(roomName); |
|
|
|