summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-02-03 12:48:17 +0100
committerVincent Petry <pvince81@owncloud.com>2014-09-23 11:16:14 +0200
commite65ceb08fc4a56d0fb9e4be5d51ba04168cbb59a (patch)
tree72f9a407f9f0a653ad534a1aec4df76837d15ef8 /core/js/js.js
parentfc42a64e6c848adc21bb069da01398f7d39fcc4a (diff)
downloadnextcloud-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.js1
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,