Permalink
Browse files

dynamic behavior bug

  • Loading branch information...
1 parent d82c878 commit 9bb815a2a6dead740b2e7ee808b9ce06f9336fd3 Jeff Dettmann committed Dec 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/cms/pages/_edit_connector.html.erb
@@ -19,7 +19,7 @@
</div>
<% require_javascript_include ['jquery', 'cms/application'] %>
<% content_for :html_head do %>
- <% if protect_against_forgery? && @authenticity_token_loaded.nil? %><script type="text/javascript">
+ <% if @authenticity_token_loaded.nil? && protect_against_forgery? %><script type="text/javascript">
jQuery(function($){
$.cms.authenticity_token = '<%= form_authenticity_token %>'
})

0 comments on commit 9bb815a

Please sign in to comment.