Hide link password controls if link is removed
This commit is contained in:
parent
26501a0bc8
commit
0788c6e968
|
@ -285,6 +285,8 @@ OC.Share={
|
||||||
},
|
},
|
||||||
hideLink:function() {
|
hideLink:function() {
|
||||||
$('#linkText').hide('blind');
|
$('#linkText').hide('blind');
|
||||||
|
$('#showPassword').hide();
|
||||||
|
$('#linkPass').hide();
|
||||||
},
|
},
|
||||||
dirname:function(path) {
|
dirname:function(path) {
|
||||||
return path.replace(/\\/g,'/').replace(/\/[^\/]*$/, '');
|
return path.replace(/\\/g,'/').replace(/\/[^\/]*$/, '');
|
||||||
|
|
Loading…
Reference in New Issue