Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Change occurence of ownCloud
  • Loading branch information
MorrisJobke committed Jul 11, 2016
commit 7db3158aaa5054420c3301c4654cd536cdd06870
5 changes: 2 additions & 3 deletions apps/files_sharing/js/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ OCA.Sharing.PublicApp = {
$.get(OC.generateUrl('apps/files_sharing/testremote'), {remote: remote}).then(function (protocol) {
if (protocol !== 'http' && protocol !== 'https') {
toggleLoading();
OC.dialogs.alert(t('files_sharing', 'No ownCloud installation (7 or higher) found at {remote}', {remote: remote}),
t('files_sharing', 'Invalid ownCloud url'));
OC.dialogs.alert(t('files_sharing', 'No compatible server found at {remote}', {remote: remote}),
t('files_sharing', 'Invalid server URL'));
} else {
OC.redirect(protocol + '://' + url);
}
Expand Down Expand Up @@ -360,4 +360,3 @@ $(document).ready(function () {
};
}
});