Skip to content
Snippets Groups Projects
Commit 94380b8c authored by Tim Steiner's avatar Tim Steiner
Browse files

Comment system updates: editor and private comments now functional.

parent df1f587d
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@
<div id="comments">
<div class="tabBar">
<a href="#" id="commentsTab">Comments</a>
<a href="#" id="commentsTab" class="selected">Comments</a>
<a href="#" id="editorCommentsTab">Editor Comments</a>
<a href="#" id="privateCommentsTab">Private Comments</a>
</div>
......
......@@ -68,7 +68,12 @@ div#comments {
}
a:hover {
color: #f00;
color: #c00;
}
a.selected {
color: #c00;
background-color: #222;
}
}
......
......@@ -17,10 +17,20 @@ function viewRequestSelectTab()
var editorCommentsContent = document.getElementById('editorCommentsContent');
var privateCommentsContent = document.getElementById('privateCommentsContent');
var commentsTab = document.getElementById('commentsTab');
var editorCommentsTab = document.getElementById('editorCommentsTab');
var privateCommentsTab = document.getElementById('privateCommentsTab');
commentsContent.style.display = 'none';
editorCommentsContent.style.display = 'none';
privateCommentsContent.style.display = 'none';
commentsTab.className = '';
editorCommentsTab.className = '';
privateCommentsTab.className = '';
this.className = 'selected';
if (this.id == 'commentsTab') {
commentsContent.style.display = 'block';
} else if (this.id == 'editorCommentsTab') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment