parent
e1a4fe9890
commit
b1150f6a7f
|
@ -313,7 +313,7 @@ OC.Share={
|
||||||
var file = $('#dir').val() + '/' + filename;
|
var file = $('#dir').val() + '/' + filename;
|
||||||
}
|
}
|
||||||
file = '/'+OC.currentUser+'/files'+file;
|
file = '/'+OC.currentUser+'/files'+file;
|
||||||
var link = parent.location.protocol+'//'+location.host+OC.linkTo('', 'public.php')+'?service=files&'+type+'='+file;
|
var link = parent.location.protocol+'//'+location.host+OC.linkTo('', 'public.php')+'?service=files&'+type+'='+encodeURIComponent(file);
|
||||||
$('#linkText').val(link);
|
$('#linkText').val(link);
|
||||||
$('#linkText').show('blind');
|
$('#linkText').show('blind');
|
||||||
$('#showPassword').show();
|
$('#showPassword').show();
|
||||||
|
|
Loading…
Reference in New Issue