diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-09-03 18:06:35 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-24 21:45:00 +0200 |
commit | f374eb5f1df6f84f94847dae2ee5700436322b50 (patch) | |
tree | d174bd2cb80464afe75ffe4ce16bb2e63dd42ead /core/js/files | |
parent | f72ffa2f119f0b2644380e5c92f50dd2f05b6531 (diff) | |
download | nextcloud-server-f374eb5f1df6f84f94847dae2ee5700436322b50.tar.gz nextcloud-server-f374eb5f1df6f84f94847dae2ee5700436322b50.zip |
More fixes to file upload
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js/files')
-rw-r--r-- | core/js/files/client.js | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js index 572f7879e17..43743fb2d8c 100644 --- a/core/js/files/client.js +++ b/core/js/files/client.js @@ -722,8 +722,47 @@ */ addFileInfoParser: function(parserFunction) { this._fileInfoParsers.push(parserFunction); - } + }, + /** + * Returns the dav.Client instance used internally + * + * @since 9.2 + * @return {dav.Client} + */ + getClient: function() { + return this._client; + }, + + /** + * Returns the user name + * + * @since 9.2 + * @return {String} userName + */ + getUserName: function() { + return this._client.userName; + }, + + /** + * Returns the password + * + * @since 9.2 + * @return {String} password + */ + getPassword: function() { + return this._client.password; + }, + + /** + * Returns the base URL + * + * @since 9.2 + * @return {String} base URL + */ + getBaseUrl: function() { + return this._client.baseUrl; + } }; /** |