|
@@ -1034,18 +1034,21 @@ $(document).ready(function () {
|
1034
|
1034
|
$("#videoconference_page").hide();
|
1035
|
1035
|
$("#domain_name").text(window.location.host + "/");
|
1036
|
1036
|
$("span[name='appName']").text(brand.appName);
|
1037
|
|
- $("#enter_room_button").click(function()
|
|
1037
|
+ function enter_room()
|
1038
|
1038
|
{
|
1039
|
1039
|
var val = $("#enter_room_field").val();
|
1040
|
1040
|
if(!val)
|
1041
|
1041
|
val = $("#enter_room_field").attr("room_name");
|
1042
|
1042
|
window.location.pathname = "/" + val;
|
|
1043
|
+ }
|
|
1044
|
+ $("#enter_room_button").click(function()
|
|
1045
|
+ {
|
|
1046
|
+ enter_room();
|
1043
|
1047
|
});
|
1044
|
1048
|
|
1045
|
1049
|
$("#enter_room_field").keydown(function (event) {
|
1046
|
1050
|
if (event.keyCode === 13) {
|
1047
|
|
- var val = Util.escapeHtml(this.value);
|
1048
|
|
- window.location.pathname = "/" + val;
|
|
1051
|
+ enter_room();
|
1049
|
1052
|
}
|
1050
|
1053
|
});
|
1051
|
1054
|
|