Properly handle failures and allow choosing folders for projects

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
Julius Härtl 2019-08-21 17:00:21 +02:00 committed by npmbuildbot[bot]
parent f5352b9c67
commit 09efc4d6cf
11 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -8,10 +8,10 @@ window.OCP.Collaboration.registerType('file', {
const client = OC.Files.getClient();
client.getFileInfo(f).then((status, fileInfo) => {
resolve(fileInfo.id);
}, () => {
}).fail(() => {
reject();
});
}, false);
}, false, null, false, OC.dialogs.FILEPICKER_TYPE_CHOOSE, '', { allowDirectoryChooser: true });
});
},
typeString: t('files_sharing', 'Link to a file'),

BIN
core/js/dist/login.js vendored

Binary file not shown.

Binary file not shown.

BIN
core/js/dist/main.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.