diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-02-03 12:48:17 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-09-23 11:16:14 +0200 |
commit | e65ceb08fc4a56d0fb9e4be5d51ba04168cbb59a (patch) | |
tree | 72f9a407f9f0a653ad534a1aec4df76837d15ef8 /core/js/js.js | |
parent | fc42a64e6c848adc21bb069da01398f7d39fcc4a (diff) | |
download | nextcloud-server-e65ceb08fc4a56d0fb9e4be5d51ba04168cbb59a.tar.gz nextcloud-server-e65ceb08fc4a56d0fb9e4be5d51ba04168cbb59a.zip |
Moved WebDAV and internet checks to client side JS
- Added setup checks in JavaScript
- Moved isWebDAVWorking to JS using SetupChecks
- Moved internet connection checks to an ajax call that goes through the
server
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js index d49001ee387..dde8ffa3211 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -256,6 +256,7 @@ var OC={ * @param {string} type the type of the file to link to (e.g. css,img,ajax.template) * @param {string} file the filename * @return {string} Absolute URL for a file in an app + * @deprecated use OC.generateUrl() instead */ filePath:function(app,type,file){ var isCore=OC.coreApps.indexOf(app)!==-1, |