Merge pull request #382 from owncloud/fix-381
Allow sharing with link again
This commit is contained in:
commit
56bd1f537a
@ -471,7 +471,7 @@ var documentsMain = {
|
|||||||
var target = OC.Share.showLink;
|
var target = OC.Share.showLink;
|
||||||
OC.Share.showLink = function() {
|
OC.Share.showLink = function() {
|
||||||
var r = target.apply( this, arguments );
|
var r = target.apply( this, arguments );
|
||||||
$('#linkText').val( $('#linkText').val().replace('service=files', 'service=documents') );
|
$('#linkText').val( $('#linkText').val().replace('index.php/s/', 'public.php?service=documents&t=') );
|
||||||
return r;
|
return r;
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user