Sha256: ab300f84d60fa389016102bb7812a16de128424003764fd129f0bbb0a5f5b353

Contents?: true

Size: 659 Bytes

Versions: 6

Compression:

Stored size: 659 Bytes

Contents

<% content_for :head do %>
	<%= stylesheet_link_tag 'admin/yui-includes.css' %>
	<%= javascript_include_tag 'yui-includes.js' %>
	<%= javascript_include_tag 'spree-yui.js' %>
	<script type="text/javascript">
	<!-- Add authenticity token to prototype --/>
	Ajax.Base.prototype.initialize = Ajax.Base.prototype.initialize.wrap(
	        function(p, options){
	                p(options);
	                this.options.parameters = this.options.parameters || {};
	                this.options.parameters.authenticity_token = '<%= form_authenticity_token %>';
	        }
	);

	spree.YUI.authenticity_token = '<%= form_authenticity_token %>';
	</script>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree-0.8.4 app/views/admin/taxonomies/_yui_head.html.erb
spree-0.8.5 app/views/admin/taxonomies/_yui_head.html.erb
spree-0.8.0 app/views/admin/taxonomies/_yui_head.html.erb
spree-0.8.1 app/views/admin/taxonomies/_yui_head.html.erb
spree-0.8.2 app/views/admin/taxonomies/_yui_head.html.erb
spree-0.8.3 app/views/admin/taxonomies/_yui_head.html.erb