Fix remote upload file for tinymce
This commit is contained in:
1 parent
73b2cd1035
commit
9a103bbb7e
3 files changed
+4
-3
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
<%= flash_messages %>
|
||||
|
||||
<%= form_for :asset, :url => admin_assets_path(:uploader => true), :html => {:id => 'ajaxForm', :multipart => true } do |f| %>
|
||||
<%= form_for :asset, :url => admin_assets_path(:uploader => true), :remote => true do |f| %>
|
||||
<div class="modal-header">
|
||||
<h3><%= t 'admin.file_upload' %></h3>
|
||||
</div>
|
||||
@@ -51,7 +51,7 @@
|
||||
</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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user