From ddb05e68a3239ba28737e05bd6f6e0249f31ae0d Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Mon, 24 Jan 2011 15:11:12 +0100 Subject: [PATCH 1/2] Implement IDF_Scm::getExtraProperties --- src/IDF/Scm/Monotone.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/IDF/Scm/Monotone.php b/src/IDF/Scm/Monotone.php index 5166915..b47dfd0 100644 --- a/src/IDF/Scm/Monotone.php +++ b/src/IDF/Scm/Monotone.php @@ -701,6 +701,14 @@ class IDF_Scm_Monotone extends IDF_Scm return (object) $res; } + /** + * @see IDF_Scm::getExtraProperties + */ + public function getExtraProperties($obj) + { + return (isset($obj->parents)) ? array('parents' => $obj->parents) : array(); + } + /** * @see IDF_Scm::isCommitLarge() */ From 41fb1bf13c3cf0e0c5fb09cb9f3e207bd57023a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20d=27Anterroches?= Date: Tue, 25 Jan 2011 09:57:44 +0100 Subject: [PATCH 2/2] Fixed the table of content to work with all the browsers. --- www/media/idf/js/wiki-toc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/media/idf/js/wiki-toc.js b/www/media/idf/js/wiki-toc.js index e7e8e3d..8b17b7a 100644 --- a/www/media/idf/js/wiki-toc.js +++ b/www/media/idf/js/wiki-toc.js @@ -1,7 +1,7 @@ $(document).ready(function() { $(":header", "#wiki-content").map(function (index) { this.id = "wikititle_" + index; - $("" + this.innerText + "").addClass("wiki-" + this.tagName.toLowerCase()).appendTo('#wiki-toc-content'); + $("" + jQuery.fn.text([this]) + "").addClass("wiki-" + this.tagName.toLowerCase()).appendTo('#wiki-toc-content'); }); });