aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/javascript_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵Jeremy Kemper2007-01-281-1/+1
| | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed escaping of backslashes in JavaScriptHelper#escape_javascript (closes ↵David Heinemeier Hansson2006-10-091-0/+1
| | | | | | #6302) [sven@c3d2.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavaScriptHelper#link_to_function and ↵David Heinemeier Hansson2006-09-061-0/+13
| | | | | | JavaScriptHelper#button_to_function to have the script argument be optional [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change link_to_function and button_to_function to (optionally) take an ↵Sam Stephenson2006-04-191-0/+15
| | | | | | update_page block instead of a JavaScript string. Closes #4804. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavaScriptHelper#button_to_function that works just like ↵David Heinemeier Hansson2005-12-311-0/+5
| | | | | | 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
* 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-0/+4
| | | | | | definitions when adding the function call [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored JavaScriptHelper into PrototypeHelper and ScriptaculousHelper. ↵Sam Stephenson2005-11-141-155/+0
| | | | | | 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
* Added support for the queue option on visual_effectThomas Fuchs2005-10-291-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* modified javascript_helper testcase to back up #2097Tobias Lütke2005-10-131-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrap javascript_tag contents in a CDATA section and add a cdata_section ↵Sam Stephenson2005-10-121-13/+13
| | | | | | method to TagHelper. Closes #1691. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us to 1.5_rc2, and Prototype to 1.4.0_pre7Thomas Fuchs2005-09-281-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimized tag_options to not sort keys, which is no longer necessary when ↵David Heinemeier Hansson2005-09-201-28/+28
| | | | | | assert_dom_equal and friend is available #1995 [skae]. Added assert_dom_equal and assert_dom_not_equal to compare tags generated by the helpers in an order-indifferent manner #1995 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController::Base.session_store=, session_store, and ↵David Heinemeier Hansson2005-09-131-1/+1
| | | | | | session_options to make it easier to tweak the session options (instead of going straight to ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split macros test into their own suiteDavid Heinemeier Hansson2005-09-111-28/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavascriptHelper#auto_complete_for to only include unique items #2153 ↵David Heinemeier Hansson2005-09-091-0/+4
| | | | | | [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug with :success/:failure callbacks for the JavaScriptHelper methods ↵David Heinemeier Hansson2005-07-141-0/+40
| | | | | | #1730 [court3nay/Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Script.aculo.us: latest rev, new autocompleter features, memory leaks fixed ↵David Heinemeier Hansson2005-07-111-1/+5
| | | | | | #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-18/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that nil options are not included in tags, so tag("p", :ignore => nil) ↵David Heinemeier Hansson2005-07-091-1/+1
| | | | | | now returns <p /> not <p ignore="" /> but that tag("p", :ignore => "") still includes it #1465 [michael@schuerig.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Javascript tests in rake #1655 [courtney]David Heinemeier Hansson2005-07-081-0/+156
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de