On Sunday, September 30, 2012 5:19:49 AM UTC-4, laurent wrote: 
>
>
> <%= form_for(@study_plan,  :remote => true ) do |f| %>
>  <div id="editor" style="margin-left: 10px; margin-top: 10px;"></div>
> <% end %>
>
 
I think this might be your problem.  If fluo-editor generates a form (no 
idea, I don't use it), then you are creating a form inside of another 
form.  Based on the behavior you are describing, the form generated by 
fluo-editor is submitting your study_plan form.  You almost certainly don't 
want this!  Maybe try moving the editor <div> outside of the study_plan 
form?
 
If you do want this behavior, if I were you I would just fork the code and 
add the data-remote that you need.  Or if you want to avoid changing the 
editor code, then modify your <script> that creates the editor to add the 
attribute you need.
 
hth,
  Steve
 
 

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to