Highlight the current folder

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39823 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-08-10 02:55:37 +00:00
parent 2728b92c42
commit 7e1d53885d
2 changed files with 4 additions and 12 deletions

View File

@ -7,15 +7,7 @@ Behaviour.register({
this.loadURLFromServer(requestURL); this.loadURLFromServer(requestURL);
/*new Ajax.Request(requestURL, { $('sitetree').setCurrentByIdx(id);
asynchronous : true,
method : 'post',
postBody : 'ajax=1',
onSuccess : this.successfullyReceivedPage.bind(this),
onFailure : function(response) {
errorMessage('error loading page',response);
}
});*/
} }
} }
}); });

View File

@ -1,13 +1,13 @@
<ul id="sitetree" class="tree unformatted"> <ul id="sitetree" class="tree unformatted">
<li id="$ID" class="Root"><a>Comments</a> <li id="$ID" class="Root"><a>Comments</a>
<ul> <ul>
<li id="comments"> <li id="record-comments">
<a href="$baseURL/admin/feedback/showtable/accepted" title="Accepted">Accepted</a> <a href="$baseURL/admin/feedback/showtable/accepted" title="Accepted">Accepted</a>
</li> </li>
<li id="unmoderated"> <li id="record-unmoderated">
<a href="$baseURL/admin/feedback/showtable/unmoderated" title="Awaiting Moderation">Awaiting Moderation</a> <a href="$baseURL/admin/feedback/showtable/unmoderated" title="Awaiting Moderation">Awaiting Moderation</a>
</li> </li>
<li id="spam"> <li id="record-spam">
<a href="$baseURL/admin/feedback/showtable/spam" title="Spam">Spam</a> <a href="$baseURL/admin/feedback/showtable/spam" title="Spam">Spam</a>
</li> </li>
</ul> </ul>