aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/javascript_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Added JavascriptHelper#update_element_function, which returns a Javascript ↵David Heinemeier Hansson2005-07-031-0/+78
| | | | | | function (or expression) that'll update a DOM element according to the options passed #933 [mortonda@dgrmm.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AJAX error handling fix, Prototype event handling #1589 [Thomas Fuchs]David Heinemeier Hansson2005-07-031-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#draggable_element and ↵David Heinemeier Hansson2005-07-021-8/+49
| | | | | | JavascriptHelper#drop_receiving_element to facilitate easy dragging and dropping through the script.aculo.us libraries #1578 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix IE 30-sec timeout bug, make auto_complete_for even more delicious #1572 ↵David Heinemeier Hansson2005-07-011-12/+19
| | | | | | [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrong variable name used in observe_field #1551David Heinemeier Hansson2005-06-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give auto_complete_for parameters, fix browser-autocompletion #1550David Heinemeier Hansson2005-06-291-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix JavaScriptHelper capitalization and make it compatible with Prototype ↵David Heinemeier Hansson2005-06-291-13/+15
| | | | | | #1545 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-281-2/+3
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for graceful error handling of Ajax calls #1217 [Jamis ↵David Heinemeier Hansson2005-06-271-13/+52
| | | | | | Buck/Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added event-based observations when frequency is not set on ↵David Heinemeier Hansson2005-06-271-5/+16
| | | | | | observe_field/form #1474 [flash@vanklinkenbergsoftware.nl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed remote_sortable to sortable_elementDavid Heinemeier Hansson2005-06-261-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added auto_complete_for to controller and text_field_with_auto_complete to ↵David Heinemeier Hansson2005-06-261-16/+55
| | | | | | view to make it really, really easy to do Google Suggest style interfaces git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script.aculo.us Javascripts (controls.js, dragdrop.js, effects.js) ↵David Heinemeier Hansson2005-06-261-6/+117
| | | | | | (NEEDS MORE DESCRIPTION) #1509 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a fall-through action for form_remote_tag that'll be used in case ↵David Heinemeier Hansson2005-06-211-0/+8
| | | | | | Javascript is unavailable #1459 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed escaping of :method option in remote_form_tag #1218 [Rick Olson]David Heinemeier Hansson2005-05-191-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ajax docing #1282 [Dee.Zsombor@gmail.com]David Heinemeier Hansson2005-05-191-0/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that you can now pass an alternative :href option to ↵David Heinemeier Hansson2005-04-181-3/+3
| | | | | | link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Element.toggle, Element.show, and Element.hide to the prototype ↵David Heinemeier Hansson2005-04-171-12/+10
| | | | | | javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added submit_to_remote that allows you to trigger an Ajax form submition at ↵David Heinemeier Hansson2005-04-131-0/+14
| | | | | | the click of the submission button, which allows for multiple targets in a single form through the use of multiple submit buttons #930 [yrashk@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :confirm option to link_to_remote just like link_to has #1082 ↵David Heinemeier Hansson2005-04-131-1/+2
| | | | | | [yrashk@fp.org.ua] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#periodically_call_remote in order to create areas of ↵David Heinemeier Hansson2005-04-071-0/+9
| | | | | | a page that update automatically at a set interval #945 [Jon Tirsen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Effects can just be used through the callbacksDavid Heinemeier Hansson2005-03-261-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated to prototype.js 1.1.0David Heinemeier Hansson2005-03-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixing JS bugs, renamed :position valuesDavid Heinemeier Hansson2005-03-261-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added other DOM manipulation positions than just replaceDavid Heinemeier Hansson2005-03-261-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :highlight effect to do YFT automaticallyDavid Heinemeier Hansson2005-03-261-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#escape_javascript as a public method (was private) ↵David Heinemeier Hansson2005-03-261-3/+4
| | | | | | and made it escape both single and double quotes and new lines #940 [mortonda@dgrmm.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation and prepared for 0.11.0 releaseDavid Heinemeier Hansson2005-03-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated more documentationDavid Heinemeier Hansson2005-03-221-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation and fixed an ajax bugDavid Heinemeier Hansson2005-03-221-5/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Last-minute ajax fixes #898David Heinemeier Hansson2005-03-221-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix for javascript_helper.rb build_callbacks #893David Heinemeier Hansson2005-03-211-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrong parameter names in observe_field/observe_formDavid Heinemeier Hansson2005-03-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a JavascriptHelper and accompanying prototype.js library that opens ↵David Heinemeier Hansson2005-03-211-215/+114
| | | | | | the world of Ajax to Action Pack with a large array of options for dynamically interacting with an application without reloading the page #884 [Sam Stephenson/David] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the duplicated remote_function and make the real deal publicDavid Heinemeier Hansson2005-03-141-23/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async callbacks work with :updateDavid Heinemeier Hansson2005-03-141-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async the default approach and add get_elements_by_classDavid Heinemeier Hansson2005-03-141-10/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added asynchronous processing modelDavid Heinemeier Hansson2005-03-141-6/+71
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deal with Safari garbage and allow html_optionsDavid Heinemeier Hansson2005-03-131-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Field.present, .focus, and .clear as JS convenience for working with ↵David Heinemeier Hansson2005-03-131-15/+0
| | | | | | forms. Removed link_to_display_toggle in favor of link_to_function "Cancel", "toggle_display("add_item_link", "add_item_form")" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Field.present, .focus, and .clear as JS convenience for working with ↵David Heinemeier Hansson2005-03-131-1/+26
| | | | | | forms. Removed link_to_display_toggle in favor of link_to_function "Cancel", "toggle_display("add_item_link", "add_item_form")" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :condition option to abort an update if some condition isnt thereDavid Heinemeier Hansson2005-03-131-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Checked in some documentation for JavascriptHelperDavid Heinemeier Hansson2005-03-121-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Respect :onclick in link_to_toggle_displayDavid Heinemeier Hansson2005-03-121-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Put it in the right moduleDavid Heinemeier Hansson2005-03-121-130/+134
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at Javascript/Ajax helpersDavid Heinemeier Hansson2005-03-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at Javascript/Ajax helpersDavid Heinemeier Hansson2005-03-121-0/+160
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de