<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,6 +5,9 @@
   &lt;title&gt;Feather - Admin&lt;/title&gt;
   &lt;%= css_include :admin %&gt;
   &lt;%= js_include :prototype, :effects, :admin, :application %&gt;
+  &lt;script type=&quot;text/javascript&quot;&gt;
+    var ADMIN_ROOT = &quot;&lt;%= url(:admin_dashboard).gsub('/dashboard', '') %&gt;&quot;;
+  &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;
   &lt;div id=&quot;header&quot;&gt;</diff>
      <filename>app/views/layout/admin.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -110,13 +110,13 @@ var FormHelper = {
 
 Event.observe(window, 'load', function() {
 	//Set up the events for the configuration page
-	FormHelper.inPlaceEditEvents(&quot;configuration-title&quot;, &quot;/admin/configuration?title=&quot;);
-	FormHelper.inPlaceEditEvents(&quot;configuration-tag-line&quot;, &quot;/admin/configuration?tag_line=&quot;);
-	FormHelper.inPlaceEditEvents(&quot;configuration-permalink-format&quot;, &quot;/admin/configuration?permalink_format=&quot;);
-	FormHelper.inPlaceEditEvents(&quot;configuration-about&quot;, &quot;/admin/configuration?about=&quot;, true);
-	FormHelper.inPlaceDropDownEvents(&quot;configuration-about-formatter&quot;, &quot;/admin/configuration?about_formatter=&quot;);
+	FormHelper.inPlaceEditEvents(&quot;configuration-title&quot;, ADMIN_ROOT + &quot;/configuration?title=&quot;);
+	FormHelper.inPlaceEditEvents(&quot;configuration-tag-line&quot;, ADMIN_ROOT + &quot;/configuration?tag_line=&quot;);
+	FormHelper.inPlaceEditEvents(&quot;configuration-permalink-format&quot;, ADMIN_ROOT + &quot;/configuration?permalink_format=&quot;);
+	FormHelper.inPlaceEditEvents(&quot;configuration-about&quot;, ADMIN_ROOT + &quot;/configuration?about=&quot;, true);
+	FormHelper.inPlaceDropDownEvents(&quot;configuration-about-formatter&quot;, ADMIN_ROOT + &quot;/configuration?about_formatter=&quot;);
 	Event.observe(&quot;configuration-clear-cache&quot;, &quot;click&quot;, function() {
-		new Ajax.Request(&quot;/admin/configuration&quot;, {
+		new Ajax.Request(ADMIN_ROOT + &quot;/configuration&quot;, {
 			asynchronous:'true',
 			evalScripts:'true',
 			method:'put',
@@ -131,7 +131,7 @@ Event.observe(window, 'load', function() {
 
 var Plugins = {
 	activate: function(id) {
-		new Ajax.Request(&quot;/admin/plugins/&quot; + id + &quot;?active=true&quot;, {
+		new Ajax.Request(ADMIN_ROOT + &quot;/plugins/&quot; + id + &quot;?active=true&quot;, {
           asynchronous:'true', 
           evalScripts:'true',
           method:'put',
@@ -144,7 +144,7 @@ var Plugins = {
 	},
 
 	deactivate: function(id) {
-		new Ajax.Request(&quot;/admin/plugins/&quot; + id + &quot;?active=false&quot;, {
+		new Ajax.Request(ADMIN_ROOT + &quot;/plugins/&quot; + id + &quot;?active=false&quot;, {
           asynchronous:'true', 
           evalScripts:'true',
           method:'put',</diff>
      <filename>public/javascripts/admin.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>56e3960707ba751af24a754eb473a3d24a9d4639</id>
    </parent>
  </parents>
  <author>
    <name>El Draper</name>
    <email>el@eldiablo.co.uk</email>
  </author>
  <url>http://github.com/mleung/feather/commit/1af3b91859ce1923536d46246e37b05ff69aa322</url>
  <id>1af3b91859ce1923536d46246e37b05ff69aa322</id>
  <committed-date>2008-12-31T09:23:39-08:00</committed-date>
  <authored-date>2008-12-31T09:23:39-08:00</authored-date>
  <message>fix for the paths for the AJAX calls in the admin - it will now work regardless of where it's mounted as a slice (and will work standalone too)</message>
  <tree>6b46bcdb8ef4db50a84e4dec73a6c01eb2f78a35</tree>
  <committer>
    <name>El Draper</name>
    <email>el@eldiablo.co.uk</email>
  </committer>
</commit>
