summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/public.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js/public.js')
-rw-r--r--apps/files_sharing/js/public.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 4293c7b310b..6bc31879d0f 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -247,7 +247,7 @@ OCA.Sharing.PublicApp = {
var ownerDisplayName = $('#save').data('owner-display-name');
var name = $('#save').data('name');
var isProtected = $('#save').data('protected') ? 1 : 0;
- OCA.Sharing.PublicApp._saveToOwnCloud(remote, token, owner, ownerDisplayName, name, isProtected);
+ OCA.Sharing.PublicApp._saveToNextcloud(remote, token, owner, ownerDisplayName, name, isProtected);
});
$('#remote_address').on("keyup paste", function() {
@@ -307,7 +307,7 @@ OCA.Sharing.PublicApp = {
* @param isProtected
* @private
*/
- _legacySaveToOwnCloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
+ _legacySaveToNextcloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
var location = window.location.protocol + '//' + window.location.host + OC.webroot;
@@ -335,7 +335,7 @@ OCA.Sharing.PublicApp = {
}
},
- _saveToOwnCloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
+ _saveToNextcloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
var toggleLoading = function() {
var iconClass = $('#save-button-confirm').attr('class');
@@ -357,13 +357,13 @@ OCA.Sharing.PublicApp = {
toggleLoading();
if (remote.indexOf('@') == -1) {
- this._legacySaveToOwnCloud(remote, token, owner, ownerDisplayName, name, isProtected);
+ this._legacySaveToNextcloud(remote, token, owner, ownerDisplayName, name, isProtected);
toggleLoading();
return;
}
$.post(
- OC.generateUrl('/apps/federatedfilesharing/saveToOwnCloud'),
+ OC.generateUrl('/apps/federatedfilesharing/saveToNextcloud'),
{
'shareWith': remote,
'token': token