From d101b986483da54fb4faed21b7a3d8bdc23dc053 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 22 Jan 2015 16:46:42 +0100 Subject: [PATCH] Hide password fields after config update --- public/js/vroom.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/vroom.js b/public/js/vroom.js index 86d5690..ba675a5 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -1751,6 +1751,8 @@ function initVroom(room) { $('#ownerPass,#ownerPassConfirm,#joinPass,#joinPassConfirm').val(''); if (data.status == 'success'){ $('#configureModal').modal('hide'); + // Hide passwords inputs too + $('#joinPassFields,#ownerPassFields').hide(); $.notify(data.msg, 'info'); webrtc.sendToAll('room_conf_updated'); }