aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/javascript_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix observe_field to fall back to event-based observation if frequency <= 0 ↵Jamis Buck2005-09-021-4/+5
| | | | | | #1916 [michael@schubert.cx] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Allow use of the :with option for submit_to_remote #1936 ↵Jamis Buck2005-09-021-1/+1
| | | | | | [jon@instance-design.co.uk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docs for JavaScriptHelper#remote_function #1740 [jon@instance-design.co.uk]David Heinemeier Hansson2005-07-171-1/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaning up of javascript_helper array options, add :only to ↵David Heinemeier Hansson2005-07-171-16/+13
| | | | | | sortable_element #1761 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug with :success/:failure callbacks for the JavaScriptHelper methods ↵David Heinemeier Hansson2005-07-141-1/+1
| | | | | | #1730 [court3nay/Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved documentation for :success/:failure callbacks #1699 [Thomas Fuchs]David Heinemeier Hansson2005-07-111-8/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Script.aculo.us: latest rev, new autocompleter features, memory leaks fixed ↵David Heinemeier Hansson2005-07-111-1/+6
| | | | | | #1695 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made JavaScriptHelper tests pass regardless of hash order #1656 [Sam Stephenson]David Heinemeier Hansson2005-07-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :handle as an option to sortable_element to restrict the drag handle ↵David Heinemeier Hansson2005-07-071-1/+1
| | | | | | to a given class #1642 [thejohnny] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavascriptHelper#visual_effect to use camelize such that :blind_up ↵David Heinemeier Hansson2005-07-071-1/+1
| | | | | | will work #1639 [pelletierm@eastmedia.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make new AJAX helpers aware of more of their options #1622 [Thomas Fuchs]David Heinemeier Hansson2005-07-061-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed transparent background for Safari with auto completerDavid Heinemeier Hansson2005-07-051-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved update_element_function #1597 [Thomas Fuchs]David Heinemeier Hansson2005-07-041-32/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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