]> source.dussan.org Git - nextcloud-server.git/commitdiff
Hide link password controls if link is removed
authorMichael Gapczynski <mtgap@owncloud.com>
Wed, 29 Aug 2012 18:01:09 +0000 (14:01 -0400)
committerMichael Gapczynski <mtgap@owncloud.com>
Wed, 29 Aug 2012 18:06:55 +0000 (14:06 -0400)
core/js/share.js

index 59ff25ee763e3312cd874e796b7403e9a1954af8..7d2daffb29da3217253fd62805fb1bf81cbb50dd 100644 (file)
@@ -285,6 +285,8 @@ OC.Share={
        },
        hideLink:function() {
                $('#linkText').hide('blind');
+               $('#showPassword').hide();
+               $('#linkPass').hide();
        },
        dirname:function(path) {
                return path.replace(/\\/g,'/').replace(/\/[^\/]*$/, '');