summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-06-22 12:24:10 +0200
committerBrice Maron <brice@bmaron.net>2012-06-22 12:24:56 +0200
commitdf60d6d5d2e905d3df9095d244e756fd60fd8c01 (patch)
tree31c3b0213d7b7ee43ade8117eb19410ea463a3f2 /core
parent8c28aec664612c4deab7eb79acfe293a77839417 (diff)
downloadnextcloud-server-df60d6d5d2e905d3df9095d244e756fd60fd8c01.tar.gz
nextcloud-server-df60d6d5d2e905d3df9095d244e756fd60fd8c01.zip
Fixes for multi app dir :
Url should be given as relative path (to webroot) Correct link construction from js
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index a1ad0c77184..7a53bb75ef5 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -64,9 +64,8 @@ OC={
}
}else if(file.substring(file.length-3) != 'php' && !isCore){
link=OC.appswebroots[app];
- link+='/'+app+'/';
if(type){
- link+=type+'/';
+ link+= '/'+type+'/';
}
link+=file;
}else{