Fix remote upload file for tinymce
This commit is contained in:
parent
cd4c9306da
commit
ecc5c39840
1
Gemfile
1
Gemfile
|
@ -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'
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
//= require side_bar_history
|
||||
//= require rss
|
||||
//= require ajax_form
|
||||
//= require inc/ajax_setting
|
||||
//= require jquery.remotipart
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in New Issue