diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-22 12:24:10 +0200 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-22 12:24:56 +0200 |
commit | df60d6d5d2e905d3df9095d244e756fd60fd8c01 (patch) | |
tree | 31c3b0213d7b7ee43ade8117eb19410ea463a3f2 /core | |
parent | 8c28aec664612c4deab7eb79acfe293a77839417 (diff) | |
download | nextcloud-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.js | 3 |
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{ |