Change occurence of ownCloud (#352)

This commit is contained in:
Morris Jobke 2016-07-11 13:49:19 +02:00 committed by GitHub
parent 0c1cf5f7eb
commit d15fd5cb96

View file

@ -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 () {
};
}
});