Merge branch 'develop'

This commit is contained in:
Loïc d'Anterroches 2011-01-25 09:58:25 +01:00
commit ba14aec7a3
2 changed files with 9 additions and 1 deletions

View File

@ -701,6 +701,14 @@ class IDF_Scm_Monotone extends IDF_Scm
return (object) $res; return (object) $res;
} }
/**
* @see IDF_Scm::getExtraProperties
*/
public function getExtraProperties($obj)
{
return (isset($obj->parents)) ? array('parents' => $obj->parents) : array();
}
/** /**
* @see IDF_Scm::isCommitLarge() * @see IDF_Scm::isCommitLarge()
*/ */

View File

@ -1,7 +1,7 @@
$(document).ready(function() { $(document).ready(function() {
$(":header", "#wiki-content").map(function (index) { $(":header", "#wiki-content").map(function (index) {
this.id = "wikititle_" + index; this.id = "wikititle_" + index;
$("<a href='#" + this.id + "'>" + this.innerText + "</a>").addClass("wiki-" + this.tagName.toLowerCase()).appendTo('#wiki-toc-content'); $("<a href='#" + this.id + "'>" + jQuery.fn.text([this]) + "</a>").addClass("wiki-" + this.tagName.toLowerCase()).appendTo('#wiki-toc-content');
}); });
}); });