app/views/layouts/cms/thickbox.html.erb in browsercms-3.0.6 vs app/views/layouts/cms/thickbox.html.erb in browsercms-3.1.0
- old
+ new
@@ -3,11 +3,11 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title><%= @page_title %></title>
<%= stylesheet_link_tag 'cms/date_picker', 'cms/thickbox' %>
<%= javascript_include_tag 'jquery', 'jquery-ui', 'jquery.cookie.js', 'jquery.selectbox-0.5.js', 'jquery.thickbox.js' %>
- <%= javascript_include_tag '/fckeditor/fckeditor', 'cms/editor' %>
+ <%= javascript_include_tag Cms.wysiwig_js %>
<%= javascript_include_tag 'cms/application' %>
<script type="text/javascript">
jQuery(function($){
<% if protect_against_forgery? %>
$.cms.authenticity_token = '<%= form_authenticity_token %>'
@@ -19,6 +19,6 @@
</head>
<body>
<div align="right"><a href="#" onclick="self.parent.tb_remove();">X</a></div>
<%= yield %>
</body>
-</html>
\ No newline at end of file
+</html>