Thanks you John for your fast answer.

":method => :post" don't change the situation : The url argument and method 
option for the form_for in rails are use for a
<input type="submit" /> button
The button create by FluoEditor with the "createButton" function are  a 
link, and not use the url argument of the form_for :

function createButton (rfeClass, tooltip, callback) {
      var i = document.createElement('a');
     ….

For the ruote vs FluoEditor question : Thanks you to answer, even if it's 
not a Ruote problem.
By the way, did you know if there is a group of discussion for FluoEditor ?

For the HTML source :  I don't' see the button of class 'rfe_button '  in 
the html source.

For the log console : In rails, if you have perform an Ajax request, you 
will have on the log "as JS" and not "as HTML" 

 Processing by StudyPlansController#edit as HTML

vs

 Processing by StudyPlansController#edit as JS

I will look at the rails form helper page you give me, but I would like to 
try to add in the "<a ref … " button created by "createButton"
an argument like  data-remote="true"
(the same argument if you use the helper "link_to, ….., :remote=> true"

If I manually add in the "ruote-fluo-editor.js" in the "createButton" 
function the line :

i.setAttribute('data-remote','true')

Then, it's work. I have in my log console : 

Processing by StudyPlansController#edit as JS

But I have to change the code of "ruote-kit", that I would like to avoid.

Thanks for your help

Best regards

Laurent

-- 
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