Joshua Peek
ff3f779629
Unused JAVASCRIPT_PATH const
2010-01-30 16:04:58 -06:00
Joshua Peek
ad1924125d
Move scripty JSG helpers into scriptaculous_helper.rb
2010-01-30 16:02:26 -06:00
Joshua Peek
9c2c307ee4
Move form_remote_tag and remote_form_for into prototype_legacy_helper
2010-01-30 15:42:30 -06:00
Joshua Peek
779094a602
Move button_to_remote and submit_to_remote into prototype_legacy_helper
...
plugin
2010-01-30 15:28:31 -06:00
Joshua Peek
b3787643ec
Move link_to_function and link_to_remote into prototype_legacy_helper
...
plugin
2010-01-30 15:20:00 -06:00
Joshua Peek
2de311a093
Drop AjaxHelper
2010-01-30 15:08:29 -06:00
Joshua Peek
95f317b020
Move periodically_call_remote into prototype_legacy_helper plugin
2010-01-30 15:01:02 -06:00
Joshua Peek
61c9b16487
Move observe_field and observe_form to prototype_legacy_helper plugin
2010-01-30 14:53:43 -06:00
Joshua Peek
4f7a85d2c6
Revert "Merge branch 'rails/master' into ujs"
...
This reverts commit 3aa1ea1ae4baa4a03d03644e798eeb98a4745785, reversing
changes made to 2c12a71378d2146c822acb389b00b866f6420ff5.
Conflicts:
actionpack/lib/action_view/helpers/javascript_helper.rb
actionpack/lib/action_view/helpers/url_helper.rb
actionpack/test/template/url_helper_test.rb
2010-01-30 14:39:59 -06:00
Joshua Peek
ac20f2cea1
Revert "Add rails.js driver to default source list"
...
This reverts commit 8a46e1182e3fce36aee5e6cb65737c4e755bbced.
2010-01-30 14:39:59 -06:00
Joshua Peek
1bd8a50a99
Deprecation notice for TestResponse#redirected_to
2010-01-30 12:26:49 -06:00
José Valim
c164ca1efb
Bring helpers_dir deprecation back.
2010-01-30 16:49:58 +01:00
José Valim
0e063f435c
Fix some backward incompatible behavior on AM.
2010-01-30 16:35:22 +01:00
Joshua Peek
bddd1bb626
Deprecate link_to :popup
2010-01-29 20:00:55 -06:00
Joshua Peek
8a46e1182e
Add rails.js driver to default source list
2010-01-29 14:03:38 -06:00
José Valim
cc2642b220
Added :format and :locale options to render.
2010-01-29 17:51:06 +01:00
José Valim
986a4e616b
Fix rendering of layouts.
2010-01-29 17:51:05 +01:00
José Valim
3f84091937
ActionMailer should depend just on AbstractController.
2010-01-29 17:51:05 +01:00
Stefan Penner
2e338aed70
updated tests + docs, plus minor inconsistency fixes
2010-01-27 12:44:36 -06:00
Stefan Penner
253f335294
tests + docs
2010-01-27 12:44:36 -06:00
Erik St. Martin
3c7d39d65f
observe_form now supports :with option as it should
2010-01-27 12:44:35 -06:00
Erik St. Martin
c0f63883ea
:href should be comming in through html_options and not options
2010-01-27 12:44:35 -06:00
Erik St. Martin
f661a3bc59
removing container inline js function of observed elements :function callback
2010-01-27 12:44:35 -06:00
Erik St. Martin
a6cd35ba68
moving html_safe call into helpers directly as they only work from that level
2010-01-27 12:44:35 -06:00
Erik St. Martin
0215466832
periodically_call_remote does not need data-observe=true
2010-01-27 12:44:35 -06:00
Erik St. Martin
6a8da2053e
need to tell erb that our <script> tag is html_safe
2010-01-27 12:44:35 -06:00
Erik St. Martin
9fe845670d
adding :href override to link_to_remote
2010-01-27 12:44:34 -06:00
Erik St. Martin
56ae6550b8
adding support for :disable_with to button_to_remote
2010-01-27 12:44:34 -06:00
Stephen St. Martin
8b7cd5ae7e
fix duplidate data-submit attribute, submit_to_remote should test url
2010-01-27 12:44:34 -06:00
Erik St. Martin
eb2d32f309
remote_form_for now supports :confirm
2010-01-27 12:44:34 -06:00
Erik St. Martin
44542bd7da
account for the fact a few options may be passed as symbols and need to be converted to string
2010-01-27 12:44:34 -06:00
Stephen St. Martin
5a75f1ab90
add missing call to set_with_and_condition_attributes for form_remote_tag
2010-01-27 12:44:34 -06:00
Erik St. Martin
06dd23d671
removing Prototype inline js for attributes for :with and :condition, it now is free form js that can be placed there, also moved :submit out into AjaxHelper, updated tests to reflect changes
2010-01-27 12:44:34 -06:00
Stephen St. Martin
d9af0dfac4
refactor params and with into copat module
2010-01-27 12:44:33 -06:00
Erik St. Martin
9e3e1b3f24
fixing last merge breakage
2010-01-27 12:44:33 -06:00
Stephen St. Martin
133f6011d0
add missing :before and :after callbacks for link_to_remote
2010-01-27 12:44:33 -06:00
Erik St. Martin
426a6b2e00
making non remote versions of link_to, button_to, submit_tag and image_submit_tag output data attributes for things like :confirm, :method, :popup, and :disable_with
2010-01-27 12:44:33 -06:00
Erik St. Martin
9821648644
link_to_remote and button_to_remote now support :confirm
2010-01-27 12:44:33 -06:00
Erik St. Martin
d769897171
modified helper that adds attributes for :method to include rel='nofollow' if :method => :delete, same as its remote_ equivalent
2010-01-27 12:44:33 -06:00
Erik St. Martin
fbb56f7ee8
refactoring AjaxHelper a bit so that it calls shared method from JavascriptHelper to add attributes for :confirm
2010-01-27 12:44:33 -06:00
Erik St. Martin
463fc71107
making non remote versions of link_to, button_to, submit_tag and image_submit_tag output data attributes for things like :confirm, :method, :popup, and :disable_with
2010-01-27 12:44:33 -06:00
Erik St. Martin
c3baf8b767
link_to_remote and button_to_remote now support :confirm
2010-01-27 12:44:33 -06:00
Stephen St. Martin
9ad8d348b5
test :method option of link_to_remote, and ensure rel='nofollow' is added when :method => 'delete'
2010-01-27 12:44:33 -06:00
Erik St. Martin
9f5cb3d3b4
moving include of ScriptaculousHelper into PrototypeHelper, ActionView should know as little as possible about individual frameworks
2010-01-27 12:44:33 -06:00
Stephen St. Martin
37ad57596b
port existing test suite to check for new output, and fix all breaking tests
2010-01-27 12:44:32 -06:00
Erik St. Martin
7bf5aef907
fixed current tests that were failing do to module location change, this is temporary to fix state of repo till all the new tests are complete
2010-01-27 12:44:32 -06:00
Stefan Penner
255066b6c7
first round of documenation for ujs
2010-01-27 12:44:32 -06:00
Stephen St. Martin
20c6c71e6a
oops, remove test code
2010-01-27 12:44:32 -06:00
Stephen St. Martin
d8343a6ad7
restructure compatibility module so it is no longer a child
2010-01-27 12:44:32 -06:00
Erik St. Martin
565a696e71
Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper
2010-01-27 12:44:32 -06:00