This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  7ab21df9602f0dc39ed846d614977bc9226dabb8 (commit)
      from  e443fcb832d13bbd0a6d12a18bfbbe79a9d724e0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=7ab21df9602f0dc39ed846d614977bc9226dabb8

commit 7ab21df9602f0dc39ed846d614977bc9226dabb8
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Thu Sep 22 10:07:44 2016 +0200

    fix download link for specific document version

diff --git a/src/www/docman/scripts/DocManController.js 
b/src/www/docman/scripts/DocManController.js
index be56e5b..98e73d9 100644
--- a/src/www/docman/scripts/DocManController.js
+++ b/src/www/docman/scripts/DocManController.js
@@ -423,7 +423,7 @@ DocManListFileController.prototype =
 
                                                                
filenametdcontent.attr('href', val.filename);
                                                        } else {
-                                                               
filenametdcontent.attr('href', 
eachdocparams.docManURL+'/view.php/'+eachdocparams.groupId+'/versions/'+eachdocparams.id+'/'+val.version);
+                                                               
filenametdcontent.attr('href', 
eachdocparams.docManURL+'/view.php/'+eachdocparams.groupId+'/versions/'+eachdocparams.id+'/'+val.version.substring(1));
                                                        }
                                                } else {
                                                        filenametdcontent = 
val.filename;

-----------------------------------------------------------------------

Summary of changes:
 src/www/docman/scripts/DocManController.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to