From: Michael Gapczynski Date: Wed, 29 Aug 2012 18:01:09 +0000 (-0400) Subject: Hide link password controls if link is removed X-Git-Tag: v4.5.0beta2~61 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0788c6e968f98647fe8bb8961cc2d250531ce283;p=nextcloud-server.git Hide link password controls if link is removed --- diff --git a/core/js/share.js b/core/js/share.js index 59ff25ee763..7d2daffb29d 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -285,6 +285,8 @@ OC.Share={ }, hideLink:function() { $('#linkText').hide('blind'); + $('#showPassword').hide(); + $('#linkPass').hide(); }, dirname:function(path) { return path.replace(/\\/g,'/').replace(/\/[^\/]*$/, '');