Change occurence of ownCloud (#352)
This commit is contained in:
parent
0c1cf5f7eb
commit
d15fd5cb96
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
@ -360,4 +360,3 @@ $(document).ready(function () {
|
|||
};
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue