Hi All,

Im using in_place_edit in my application ,for acheving this i have
used a plugin (super_inplace_controls). My rails version is 2.3.8

Insted of displaying the value and on click to provide the form for
editing. It is displaying me the whole code in the page.

as


0<form action="/setting/new_value/1" class="in_place_editor_form"
id="disposition_weight_lower_1_form" method="post"
onsubmit="jQuery.ajax({beforeSend:function(request)
{jQuery(&quot;#loader_disposition_weight_lower_1&quot;).show();
jQuery(&quot;#disposition_weight_lower_1_form&quot;).hide();},
complete:function(request)
{jQuery(&quot;#loader_disposition_weight_lower_1&quot;).hide();},
data:jQuery.param(jQuery(this).serializeArray()) +
'&amp;authenticity_token=' + encodeURIComponent('GNaJDLKf
+YYfq7VJlCM0JG9n0R1ffzLNrZTPzJvJJ28='), dataType:'script',
type:'post', url:'/configurations/set_disposition_weight_lower/1'});
return false;" style="display:none"><div style="margin:0;padding:
0;display:inline"><input name="authenticity_token" type="hidden"
value="GNaJDLKf+YYfq7VJlCM0JG9n0R1ffzLNrZTPzJvJJ28=" /></div><input
class="inplace_text_field" id="disposition_weight_lower"
name="disposition_weight[lower]" size="30" type="text" value="0" /
><input class="inplace_submit" name="commit" type="submit" value="OK" /
><a class="inplace_cancel" href="#"
onclick="jQuery(&quot;#disposition_weight_lower_1&quot;).show();
jQuery(&quot;#disposition_weight_lower_1_form&quot;).hide();; return
false;">Cancel</a></form><div class="inplace_loader"
id="loader_disposition_weight_lower_1" style="display:none"><img
alt="Spinner" src="/images/spinner.gif?1275917204" /
>&amp;nbsp;&amp;nbsp;<span>Saving...</span></div><br></br>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to