adding id for object-commit
authorCillian de Roiste <cillian.deroiste@gmail.com>
Mon, 21 Jan 2008 22:28:53 +0000 (22:28 +0000)
committerCillian de Roiste <cillian.deroiste@gmail.com>
Mon, 21 Jan 2008 22:28:53 +0000 (22:28 +0000)
src/object_commit.c

index 215e195..b7cdc07 100644 (file)
@@ -358,7 +358,7 @@ webgit_object_commit_action (struct webgit_repo_info* repo, unsigned char* sha1)
   buf = read_object_with_reference (sha1, "commit", &size, NULL);
 
   return html(
-              html(html_tag("div"), webgit_object_commit_menu_action (repo, sha1, buf, size)), html_nl (),
+              html(html_tag("div", html_attr ("id", "object-commit")), webgit_object_commit_menu_action (repo, sha1, buf, size)), html_nl (),
               html(html_tag("div"), webgit_object_commit_content_action (repo, sha1, buf, size)), html_nl ()
               );
 }