From 7e1d53885dbbec8764e0d39a57fa94a3671dbb62 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Fri, 10 Aug 2007 02:55:37 +0000 Subject: [PATCH] Highlight the current folder git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39823 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/FeedbackAdmin_right.js | 10 +--------- templates/Includes/FeedbackAdmin_SiteTree.ss | 6 +++--- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/javascript/FeedbackAdmin_right.js b/javascript/FeedbackAdmin_right.js index 8cf265a3..5b0b280c 100644 --- a/javascript/FeedbackAdmin_right.js +++ b/javascript/FeedbackAdmin_right.js @@ -7,15 +7,7 @@ Behaviour.register({ this.loadURLFromServer(requestURL); - /*new Ajax.Request(requestURL, { - asynchronous : true, - method : 'post', - postBody : 'ajax=1', - onSuccess : this.successfullyReceivedPage.bind(this), - onFailure : function(response) { - errorMessage('error loading page',response); - } - });*/ + $('sitetree').setCurrentByIdx(id); } } }); \ No newline at end of file diff --git a/templates/Includes/FeedbackAdmin_SiteTree.ss b/templates/Includes/FeedbackAdmin_SiteTree.ss index 6bdcf7ef..4411677c 100644 --- a/templates/Includes/FeedbackAdmin_SiteTree.ss +++ b/templates/Includes/FeedbackAdmin_SiteTree.ss @@ -1,13 +1,13 @@