From df60d6d5d2e905d3df9095d244e756fd60fd8c01 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Fri, 22 Jun 2012 12:24:10 +0200 Subject: Fixes for multi app dir : Url should be given as relative path (to webroot) Correct link construction from js --- core/js/js.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/js/js.js') 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{ -- cgit v1.2.3