Add slash to app url if not set fix oc-1169

This commit is contained in:
Brice Maron 2012-07-03 21:58:08 +00:00
parent 393eefa5d2
commit 799e34acd4
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ OC={
if(type){
link+= '/'+type+'/';
}
if(link.substring(link.length-1) != '/')
link+='/';
link+=file;
}else{
link+='/';