Hide auth modal on successful auth

master
Daniel Berteaud 10 years ago
parent 137bd01c9d
commit 5f122fed91
  1. 1
      public/js/vroom.js

@ -1658,6 +1658,7 @@ function initVroom(room) {
success: function(data) { success: function(data) {
$('#authPass').val(''); $('#authPass').val('');
if (data.status == 'success'){ if (data.status == 'success'){
$('#ownerAuthModal').modal('hide');
getRoomInfo(); getRoomInfo();
$.notify(data.msg, 'success'); $.notify(data.msg, 'success');
} }

Loading…
Cancel
Save