aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/prototype_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added :method handling for other verbs to remote_form_tag and ↵David Heinemeier Hansson2006-05-281-5/+15
| | | | | | remote_form_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix double url escaping of remote_function. Add :escape => false option to ↵Nicholas Seckar2006-03-221-0/+4
| | | | | | ActionView's url_for. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix testDavid Heinemeier Hansson2006-03-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix mixed case enumerable methods in the JavaScript Collection Proxy (closes ↵Rick Olson2006-03-191-0/+13
| | | | | | #4314) [codyfauser@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :function option to PrototypeHelper#observe_field/observe_form that ↵David Heinemeier Hansson2006-03-181-0/+10
| | | | | | allows you to call a function instead of submitting an ajax call as the trigger (closes #4268) [jonathan@daikini.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added simple alert() notifications for RJS exceptions when ↵Sam Stephenson2006-03-131-18/+26
| | | | | | config.action_view.debug_rjs = true. Set debug_rjs = true for the default development environment. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rendering xml shouldnt happen inside any layout. Added class proxying to ↵David Heinemeier Hansson2006-03-131-0/+5
| | | | | | RJS, so you can call page.field.clear("my_field") to generate Field.clear("my_field");. Added :content_type option to render, so you can change the content type on the fly. Do type/subtype reordering of Accept header preferences for xml types (aka make Firefox work with respond_to). CHANGED DEFAULT: The default content type for .rxml is now application/xml instead of type/xml, see http://www.xml.com/pub/a/2004/07/21/dive.html for reason git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Re-added mixed-in helper methods for the JavascriptGenerator. Moved ↵Rick Olson2006-03-081-25/+26
| | | | | | JavascriptGenerators methods to a module that is mixed in after the helpers are added. Also fixed that variables set in the enumeration methods like #collect are set correctly. Documentation added for the enumeration methods [Rick Olson]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow RJS enum values to be passed to visual_effect() and other ↵David Heinemeier Hansson2006-03-051-26/+24
| | | | | | scriptaculous helpers #4080 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RJS now does enumerations, baby! (closes #3876) [Rick Olson]David Heinemeier Hansson2006-03-031-2/+102
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script.aculo.us drag and drop helpers to RJS [Thomas Fuchs]Thomas Fuchs2006-02-261-0/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use real assigns instead of a method call [DHH]David Heinemeier Hansson2006-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* replace_element was renamed replace [DHH]David Heinemeier Hansson2006-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also support replace and replace_html and some refactoring in ↵David Heinemeier Hansson2006-02-121-0/+5
| | | | | | JavaScriptElementProxy [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3588 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added element and collection proxies to RJS [DHH]David Heinemeier Hansson2006-02-121-1/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add JavaScriptGenerator#replace_element for replacing an element's "outer ↵Sam Stephenson2006-02-121-0/+5
| | | | | | HTML". Closes #3246. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added delayed execution of Javascript from within RJS (closes #3264) ↵David Heinemeier Hansson2005-12-221-0/+8
| | | | | | [devslashnull@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add additional RJS functionality: alert, redirect_to, call, assign, and <<Sam Stephenson2005-12-201-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass multiple arguments to Element.show and Element.hide in ↵Sam Stephenson2005-11-211-4/+4
| | | | | | JavaScriptGenerator instead of using iterators git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Element.update('id', 'html') instead of uid=501(sam) gid=501(sam) ↵Sam Stephenson2005-11-181-2/+2
| | | | | | groups=501(sam), 81(appserveradm), 79(appserverusr), 80(admin).innerHTML = 'html' in JavaScriptGenerator#replace_html so that script tags are evaluated git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored JavaScriptHelper into PrototypeHelper and ScriptaculousHelper. ↵Sam Stephenson2005-11-141-0/+208
Added PrototypeHelper::JavaScriptGenerator and PrototypeHelper#update_page for easily modifying multiple elements in an Ajax response. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de