diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-07-12 18:48:00 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-07-14 16:39:48 +0200 |
commit | 5bbba490c4444f7977e7ad0ce4266acbd67eee86 (patch) | |
tree | d9b9ebe78d82ba03c6be37e93be437b55efdfc5a /apps/files_sharing/js/public.js | |
parent | 2f23054b0126ec3497a7b632ff2399f6f3843a0f (diff) | |
download | nextcloud-server-5bbba490c4444f7977e7ad0ce4266acbd67eee86.tar.gz nextcloud-server-5bbba490c4444f7977e7ad0ce4266acbd67eee86.zip |
move some stuff over to the federatedfilesharing app
Diffstat (limited to 'apps/files_sharing/js/public.js')
-rw-r--r-- | apps/files_sharing/js/public.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 6bc31879d0f..a7d0c15a01a 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -356,7 +356,7 @@ OCA.Sharing.PublicApp = { toggleLoading(); - if (remote.indexOf('@') == -1) { + if (remote.indexOf('@') === -1) { this._legacySaveToNextcloud(remote, token, owner, ownerDisplayName, name, isProtected); toggleLoading(); return; @@ -380,8 +380,6 @@ OCA.Sharing.PublicApp = { } ).fail( function (jqXHR) { - console.log("ERROR!"); - console.log(jqXHR); OC.dialogs.alert(JSON.parse(jqXHR.responseText).message, t('files_sharing', 'Failed to add the public link to your Nextcloud')); toggleLoading(); |