summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-29 14:01:09 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-29 14:06:55 -0400
commit0788c6e968f98647fe8bb8961cc2d250531ce283 (patch)
treef81b06c3692c64b6df7b16849dce56204b83dcb9 /core/js
parent26501a0bc8c7c4fa8343f5fa0c6e42bae1c7f298 (diff)
downloadnextcloud-server-0788c6e968f98647fe8bb8961cc2d250531ce283.tar.gz
nextcloud-server-0788c6e968f98647fe8bb8961cc2d250531ce283.zip
Hide link password controls if link is removed
Diffstat (limited to 'core/js')
-rw-r--r--core/js/share.js2
1 files changed, 2 insertions, 0 deletions
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(/\/[^\/]*$/, '');