<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -53,7 +53,7 @@ var TinyTab = Class.create();
 TinyTab.callbacks ={
   'latest-files': function() {
     if($('latest-assets').childNodes.length == 0)
-      new Ajax.Request(Mephisto.root + '/admin/assets/latest');
+      new Ajax.Request(Mephisto.root + '/admin/assets/latest', {method: 'get'});
   },
   'search-files': function(q) {
     if(!q) return;
@@ -275,7 +275,8 @@ var SectionForm = {
   },
 
   saveSortable: function(section_id, container_id) {
-    var query = $$('#'+container_id+' li').inject([], function(qu, li) {
+    var token = 'authenticity_token=' + Mephisto.token;
+    var query = $$('#'+container_id+' li').inject([token], function(qu, li) {
       qu.push('sorted_ids[]=' + li.getAttribute('id').substr(container_id.length));
       return qu;
     }).join('&amp;')</diff>
      <filename>public/javascripts/mephisto/application.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>de8bff52155d3c2815607bcf390c3a20085ab0d1</id>
    </parent>
  </parents>
  <author>
    <name>Eric Kidd</name>
    <email>git@randomhacks.net</email>
  </author>
  <url>http://github.com/technoweenie/mephisto/commit/1ea714e42637e08faa76d7c988cf85125207c23f</url>
  <id>1ea714e42637e08faa76d7c988cf85125207c23f</id>
  <committed-date>2008-12-26T07:01:05-08:00</committed-date>
  <authored-date>2008-12-26T07:01:05-08:00</authored-date>
  <message>JavaScript: Fix authenticity_token problems

One of these should be a GET; the other needed a token.</message>
  <tree>ce57609efa3b8ebfab8b30af92affb9e7f9638a3</tree>
  <committer>
    <name>Eric Kidd</name>
    <email>git@randomhacks.net</email>
  </committer>
</commit>
