Skip to content
Snippets Groups Projects
Commit d15fd5cb authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Change occurence of ownCloud (#352)

parent 0c1cf5f7
No related branches found
No related tags found
No related merge requests found
...@@ -331,8 +331,8 @@ OCA.Sharing.PublicApp = { ...@@ -331,8 +331,8 @@ OCA.Sharing.PublicApp = {
$.get(OC.generateUrl('apps/files_sharing/testremote'), {remote: remote}).then(function (protocol) { $.get(OC.generateUrl('apps/files_sharing/testremote'), {remote: remote}).then(function (protocol) {
if (protocol !== 'http' && protocol !== 'https') { if (protocol !== 'http' && protocol !== 'https') {
toggleLoading(); toggleLoading();
OC.dialogs.alert(t('files_sharing', 'No ownCloud installation (7 or higher) found at {remote}', {remote: remote}), OC.dialogs.alert(t('files_sharing', 'No compatible server found at {remote}', {remote: remote}),
t('files_sharing', 'Invalid ownCloud url')); t('files_sharing', 'Invalid server URL'));
} else { } else {
OC.redirect(protocol + '://' + url); OC.redirect(protocol + '://' + url);
} }
...@@ -360,4 +360,3 @@ $(document).ready(function () { ...@@ -360,4 +360,3 @@ $(document).ready(function () {
}; };
} }
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment