Fix remote upload file for tinymce

This commit is contained in:
Christophe Vilayphiou 2012-08-06 15:13:21 +08:00
parent cd4c9306da
commit ecc5c39840
3 changed files with 4 additions and 3 deletions

View File

@ -26,6 +26,7 @@ gem 'mysql2'
gem 'nokogiri'
gem 'radius'
gem 'rake'
gem 'remotipart'
gem 'resque' # background jobs
gem 'resque-scheduler' # job scheduling
gem 'resque-restriction'

View File

@ -17,4 +17,4 @@
//= require side_bar_history
//= require rss
//= require ajax_form
//= require inc/ajax_setting
//= require jquery.remotipart

View File

@ -53,9 +53,9 @@
</div>
<div style="position: absolute; width: 100%; bottom: 0;">
<div class="modal-footer">
<a id='ajax_form_submit' class="btn btn-primary"><%= t(:create) %></a>
<%= f.submit t(:create), :class => "btn btn-primary" %>
</div>
</div>
<% end %>
</body>
</body>