Hide link password controls if link is removed

This commit is contained in:
Michael Gapczynski 2012-08-29 14:01:09 -04:00
parent 26501a0bc8
commit 0788c6e968
1 changed files with 2 additions and 0 deletions

View File

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