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, 6.0 has been updated
       via  52a6fd3113602adafc0e8398ab205a029a2af57d (commit)
      from  1c4fde46a8cd1b58a177413e6faf33cee3938571 (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=52a6fd3113602adafc0e8398ab205a029a2af57d

commit 52a6fd3113602adafc0e8398ab205a029a2af57d
Author: Franck Villaume <[email protected]>
Date:   Tue Mar 15 21:41:58 2016 +0100

    fix [#810] docman folder tree: support Chrome browser, open/close folders

diff --git a/src/CHANGES b/src/CHANGES
index d5f5449..aee2c79 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -6,6 +6,7 @@ FusionForge 6.0.4:
 * Accounts: passwords hashes: increase md5crypt salt length to 8; fix invalid 
Blowfish salt (Inria)
 * Accounts: passwords hashes: add support for SHA256/SHA512 (Inria)
 * Accounts: fix supported ssh keys types - again (Inria)
+* Docman: fix folder tree to support Chrome correctly. open/closing folders 
[#810] (TrivialDev)
 * FRS: fix shownotes.php link. Use new url form. view=shownotes (TrivialDev)
 * FRS: frs latest zip migration script hardening (TrivialDev)
 * MTA-Exim4: restart exim4 on install
diff --git a/src/common/docman/DocumentManager.class.php 
b/src/common/docman/DocumentManager.class.php
index a6d95ac..3a9993d 100644
--- a/src/common/docman/DocumentManager.class.php
+++ b/src/common/docman/DocumentManager.class.php
@@ -2,7 +2,7 @@
 /**
  * FusionForge document manager
  *
- * Copyright 2011-2014, Franck Villaume - TrivialDev
+ * Copyright 2011-2014,2016, Franck Villaume - TrivialDev
  * Copyright (C) 2012 Alain Peyrat - Alcatel-Lucent
  * Copyright 2013, French Ministry of National Education
  * http://fusionforge.org
@@ -208,9 +208,10 @@ class DocumentManager extends Error {
                                                }
                                                $lititle .= _('Last 
Modified')._(': ').relative_date($localDg->getLastModifyDate());
                                        }
-                                       echo html_ao('li', array('id' => 
'leaf-'.$subGroupIdValue, 'class' => $liclass)).util_make_link($link, 
$localDg->getName(), array('title'=>$lititle)).$nbDocsLabel;
+                                       //use &nbsp + inline to support Chrome 
browser correctly
+                                       echo html_ao('li', array('id' => 
'leaf-'.$subGroupIdValue, 'class' => $liclass)).'&nbsp;'.util_make_link($link, 
$localDg->getName(), array('title'=>$lititle, 'style' => 'display: 
inline')).$nbDocsLabel;
                                } else {
-                                       echo html_ao('li', array('id' => 
'leaf-'.$subGroupIdValue, 'class' => $liclass)).util_make_link($link, 
$localDg->getName()).$nbDocsLabel;
+                                       echo html_ao('li', array('id' => 
'leaf-'.$subGroupIdValue, 'class' => $liclass)).'&nbsp;'.util_make_link($link, 
$localDg->getName(), array('style' => 'display: inline')).$nbDocsLabel;
                                }
                                if ($dg->getSubgroup($subGroupIdValue, 
$stateId)) {
                                        echo html_ao('ul', array('class' => 
'simpleTreeMenu'));

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

Summary of changes:
 src/CHANGES                                 | 1 +
 src/common/docman/DocumentManager.class.php | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to