aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* allow RJS enum values to be passed to visual_effect() and other ↵David Heinemeier Hansson2006-03-052-9/+11
| | | | | | scriptaculous helpers #4080 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Effect.Appear in effects.js to work with floats in Safari (closes ↵David Heinemeier Hansson2006-03-041-0/+10
| | | | | | #3524, #3813, #3044) [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RJS now does enumerations, baby! (closes #3876) [Rick Olson]David Heinemeier Hansson2006-03-031-9/+99
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that default image extension was not appended when using a full URL ↵David Heinemeier Hansson2006-03-021-1/+1
| | | | | | with AssetTagHelper#image_tag (closes #4032, #3728) [rubyonrails@beautifulpixel.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support to AssetTagHelper#javascript_include_tag for having :defaults ↵David Heinemeier Hansson2006-02-281-5/+4
| | | | | | appear anywhere in the list, so you can now make one call ala javascript_include_tag(:defaults, "my_scripts") or javascript_include_tag("my_scripts", :defaults) depending on how you want the load order (closes #3506) [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for visual effects scoped queues to the visual_effect helper ↵Thomas Fuchs2006-02-271-1/+6
| | | | | | #3530 [Abdur-Rahman Advany] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added .rxml (and any non-rhtml template, really) supportfor ↵David Heinemeier Hansson2006-02-261-12/+49
| | | | | | CaptureHelper#content_for and CaptureHelper#capture #3287 [Brian Takita] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script.aculo.us drag and drop helpers to RJS [Thomas Fuchs]Thomas Fuchs2006-02-262-7/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed form_for regression (closes #3962) [t.lucas@toolmantim.com]David Heinemeier Hansson2006-02-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* mail_to shouldnt include language attribute in script tag #3364 ↵David Heinemeier Hansson2006-02-261-1/+1
| | | | | | [donald.piret@synergetek.be] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that form elements would strip the trailing [] from the first ↵David Heinemeier Hansson2006-02-261-1/+1
| | | | | | parameter (closes #3545) [ruby@bobsilva.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The image_tag helper is not converting the options hash to symbols (closes ↵David Heinemeier Hansson2006-02-261-1/+1
| | | | | | #3615) [agkr@pobox.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us to V1.5.3 [Thomas Fuchs]Thomas Fuchs2006-02-223-31/+85
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added various InPlaceEditor options, #3746, #3891, #3896, #3906Thomas Fuchs2006-02-211-6/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us in Rails trunk to V1.5.2Thomas Fuchs2006-02-142-14/+95
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor the Javascript proxy into a hierarchy for element/collection [DHH]David Heinemeier Hansson2006-02-141-11/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use real assigns instead of a method call [DHH]David Heinemeier Hansson2006-02-121-6/+12
| | | | 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
* Wups, committed too muchDavid Heinemeier Hansson2006-02-121-14/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also support replace and replace_html and some refactoring in ↵David Heinemeier Hansson2006-02-122-31/+50
| | | | | | 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-0/+39
| | | | 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-122-24/+53
| | | | | | HTML". Closes #3246. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix form_for brokenness due to a shortage of parenthesisNicholas Seckar2006-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expose object and object_name from the FormBuilder [DHH]David Heinemeier Hansson2006-02-121-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up style around form_for and friends a bitDavid Heinemeier Hansson2006-02-122-8/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove over-engineered form_for code for a leaner implementation.Nicholas Seckar2006-02-112-27/+16
| | | | | | | Document form_for's :html option. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :html option for specifying form tag options in form_forSam Stephenson2006-02-081-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't interpret the :value option on text_area as an html attribute. Set the ↵Marcel Molina2006-02-081-1/+1
| | | | | | text_area's value. Closes #3752. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix remote_form_for creates a non-ajax form. Closes #3741.Nicholas Seckar2006-02-062-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :builder => option to form_for and friends. Closes 3268.Nicholas Seckar2006-02-042-23/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add the ability to call JavaScriptGenerator methods from helpers called in ↵Sam Stephenson2006-01-232-31/+44
| | | | | | update blocks git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add render(:update) to ActionView::BaseSam Stephenson2006-01-231-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backing out of [3470] until visual_effect, et al can workSam Stephenson2006-01-231-44/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add the ability to call JavaScriptGenerator methods from helpers called in ↵Sam Stephenson2006-01-231-14/+44
| | | | | | update blocks git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Treat timestamps like datetimes for scaffolding purposes (closes #3388) ↵David Heinemeier Hansson2006-01-211-1/+1
| | | | | | [Maik Schmidt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3457 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix IE bug with link_to "something", :post => true (closes #3443) [Justin ↵David Heinemeier Hansson2006-01-211-1/+1
| | | | | | Palmer] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make error_messages_for return "" for nil objectsMichael Koziarski2006-01-191-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor human_size to exclude decimal place if it is zero.Marcel Molina2006-01-191-9/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0_rc0Sam Stephenson2006-01-181-7/+158
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont repeat the button_to methodDavid Heinemeier Hansson2006-01-161-14/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation typo fix. Closes #2367.Marcel Molina2006-01-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove Upload Progress. Closes #2871.Marcel Molina2006-01-131-433/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in function name mapping in auto_complete_field. Closes #3446.Marcel Molina2006-01-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Have the form builder output radio button, not check box, when calling the ↵Marcel Molina2006-01-061-1/+1
| | | | | | radio button helper. Closes #3331. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assignment of the Autocompleter object created by ↵David Heinemeier Hansson2006-01-035-11/+45
| | | | | | JavaScriptMacroHelper#auto_complete_field to a local javascript variables [DHH] Added :on option for PrototypeHelper#observe_field that allows you to specify a different callback hook to have the observer trigger on [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavaScriptHelper#button_to_function that works just like ↵David Heinemeier Hansson2005-12-311-0/+14
| | | | | | JavaScriptHelper#link_to_function but uses a button instead of a href [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Field.focus in prototype friendly to effects by adding optional delay ↵David Heinemeier Hansson2005-12-311-2/+12
| | | | | | parameter [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that JavaScriptHelper#link_to_function will honor existing :onclick ↵David Heinemeier Hansson2005-12-311-1/+1
| | | | | | definitions when adding the function call [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that JavaScriptHelper#link_to_function will honor existing :onclick ↵David Heinemeier Hansson2005-12-311-1/+5
| | | | | | definitions when adding the function call [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :disable_with option to FormTagHelper#submit_tag to allow for easily ↵David Heinemeier Hansson2005-12-301-19/+21
| | | | | | disabled submit buttons with different text [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de