mirror of
https://github.com/dani/vroom.git
synced 2024-06-30 15:23:41 +02:00
Hide the configuration modal after save
If it succeed
This commit is contained in:
parent
4e455d1caa
commit
137bd01c9d
|
@ -1742,6 +1742,7 @@ function initVroom(room) {
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
$('#ownerPass,#ownerPassConfirm,#joinPass,#joinPassConfirm').val('');
|
$('#ownerPass,#ownerPassConfirm,#joinPass,#joinPassConfirm').val('');
|
||||||
if (data.status == 'success'){
|
if (data.status == 'success'){
|
||||||
|
$('#configureModal').modal('hide');
|
||||||
$.notify(data.msg, 'info');
|
$.notify(data.msg, 'info');
|
||||||
webrtc.sendToAll('room_conf_updated');
|
webrtc.sendToAll('room_conf_updated');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user