Displaying 5 results from an estimated 5 matches for "cancel_text".
2006 Nov 04
2
in_place_editor_field submitOnBlur & okButton=false options?
I have a few in_place_editor_fields working fine. I can access some of
the script.aculo.us options such as :cols, :save_text, :cancel_text, but
how do I access the okButton = false & submitOnBlur options? Basically,
I want no submit button, a cancel button, and the ability to submit when
I tab out of the field.
Is this doable without writing a helper? (avoiding digging that deep so
early on in my rails learning)
Script.acu...
2006 Mar 25
0
in_place_collection_editor
...be sent after the user presses "ok".
+ # <tt>:collection</tt>: The collection to build the select from. This can be either
+ # simple array, or a multilevel array.
+ #
+ #
+ # Addtional +options+ are:
+ # <tt>:cancel_text</tt>:: The text on the cancel link. (default: "cancel")
+ # <tt>:save_text</tt>:: The text on the save link. (default: "ok")
+ # <tt>:loading_text</tt>:: The text to display when submitting to the server (default: "...
2006 Aug 02
2
Passing Ajax.InPlaceEditor options
I''ve followed the instructions in the Rails Recipe #1 and have the
in_place_editor_field working but now I want to tweak how it looks and
behaves. I''d like to be able to override the default yellow highlight color,
which is done using the highlightcolor param according to the scriptaculous
documentation (unless I''m missing something).
I''m new to Ruby and Rails
2005 Jul 18
13
in place text edit
I''ve written a pretty nice Flickr style in place text edit JavaScript
control based on the Script.aculo.us library.
API is like this:
<span id="editme">Edit me!</span>
<script>
new InPlaceEditor($(''editme''), ''url/to/action'');
</script>
Background changes to gray as mouse hovers over the text (like flickr)
and the
2006 Jun 12
8
Input/output error on linux
...39;'><%=
in_place_editor_field :the_story, :the_description, {}, {:url =>
url_for(:id => @installation_id, :pub => @publication_id, :story =>
@story_id, :action => ''set_the_story_description''), :rows =>
15, :save_text => _("save"), :cancel_text => _
("cancel"), :saving_text => _("Saving...")} %></div>
16: <%
17: else
18: %>
/home/raconteur/gems/gems/actionpack-1.11.2/lib/action_view/
helpers/java_script_macros_helper.rb:62:in `write''
/home/raconteur/gems/gems/actionpack-1.11.2...