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
|
ad26b3934e
|
test to go with last commit, explicit :href for link_to_remote
|
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
|
ff26ca68d2
|
support for submit_to_remote in jquery driver
|
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 |
|
Stephen St. Martin
|
2204215b43
|
upgrade jquery to 1.4.1 and default request method to GET as its default on forms and links
|
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 |
|
Stephen St. Martin
|
ed09413230
|
refractor handler code for remote_form_tag to also handle link_to_remote, fix a bug preventing :method from being used, also add missing :position, :confirm is still not functional yet
|
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
|
04ad12d681
|
initial jquery driver and compat, right now the only supported method is form_remote_tag
|
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 |
|
Stephen St. Martin
|
a5e9d033e8
|
add missing test for :with option to link_to_remote
|
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 |
|
Erik St. Martin
|
5462caf434
|
fixing failing tests from last commit, order of attributes matters should probably change this later
|
2010-01-27 12:44:32 -06:00 |
|
Erik St. Martin
|
1cd8b98d01
|
javascript_helper now correctly pulls in ajax_helper instead of prototype_helper. prototype_helper is pulled in by ajax_helper for reverse compatibility
|
2010-01-27 12:44:32 -06:00 |
|
Stephen St. Martin
|
f115fb0111
|
make observers a little more dry
|
2010-01-27 12:44:32 -06:00 |
|
Stephen St. Martin
|
49e84a5943
|
fix failing tests from fork/merge
|
2010-01-27 12:44:31 -06:00 |
|
Stephen St. Martin
|
07299eb60d
|
rename ajax_test.rb to ajax_helper_test.rb for consistency
|
2010-01-27 12:44:31 -06:00 |
|
Stephen St. Martin
|
143d0764d0
|
nuke what appears to be a duplicate and unused test file
|
2010-01-27 12:44:31 -06:00 |
|
Stephen St. Martin
|
62a2d5178c
|
cleanup some spacing
|
2010-01-27 12:44:31 -06:00 |
|
Stephen St. Martin
|
27d52e00d9
|
extract_remote_attributes should be a private method
|
2010-01-27 12:44:31 -06:00 |
|
Bob Remeika
|
95b77e925f
|
Added observe_form
|
2010-01-27 12:44:31 -06:00 |
|
Bob Remeika
|
7d34975214
|
Added submit_to_remote helper
|
2010-01-27 12:44:31 -06:00 |
|
Bob Remeika
|
39ec7ce6a9
|
Removed duplication
|
2010-01-27 12:44:31 -06:00 |
|
Bob Remeika
|
8e172f13d7
|
Changed data-name to data-observed on observe_field
|
2010-01-27 12:44:31 -06:00 |
|
Bob Remeika
|
261654becf
|
Refactored ajax helpers so they use a little bit more coherent pattern; Removed code duplication from form_remote_tag
|
2010-01-27 12:44:31 -06:00 |
|
Bob Remeika
|
dad3d09ce8
|
Applied Yehuda's patch; Sharing extract_object_name_for_form! between form_helper and ajax_helper; Added script_decorator helper
|
2010-01-27 12:44:30 -06:00 |
|
Bob Remeika
|
5491a663da
|
Changed observe_field to field_observer
|
2010-01-27 12:44:30 -06:00 |
|
Bob Remeika
|
9c12e66748
|
Changed data-rails-type to data-js-type
|
2010-01-27 12:44:30 -06:00 |
|
Bob Remeika
|
bd65e7f73d
|
Changed data-remote='true' to data-js-type='remote'
|
2010-01-27 12:44:30 -06:00 |
|
Bob Remeika
|
631537a25d
|
remote_form_for tests pass
|
2010-01-27 12:44:30 -06:00 |
|