aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add missing call to set_with_and_condition_attributes for form_remote_tagStephen St. Martin2010-01-271-0/+1
|
* removing Prototype inline js for attributes for :with and :condition, it now ↵Erik St. Martin2010-01-272-20/+38
| | | | is free form js that can be placed there, also moved :submit out into AjaxHelper, updated tests to reflect changes
* refactor params and with into copat moduleStephen St. Martin2010-01-271-13/+26
|
* add missing test for :with option to link_to_remoteStephen St. Martin2010-01-271-0/+6
|
* fixing last merge breakageErik St. Martin2010-01-272-13/+0
|
* add missing :before and :after callbacks for link_to_remoteStephen St. Martin2010-01-272-1/+6
|
* making non remote versions of link_to, button_to, submit_tag and ↵Erik St. Martin2010-01-271-0/+3
| | | | image_submit_tag output data attributes for things like :confirm, :method, :popup, and :disable_with
* link_to_remote and button_to_remote now support :confirmErik St. Martin2010-01-271-0/+10
|
* modified helper that adds attributes for :method to include rel='nofollow' ↵Erik St. Martin2010-01-272-3/+4
| | | | if :method => :delete, same as its remote_ equivalent
* refactoring AjaxHelper a bit so that it calls shared method from ↵Erik St. Martin2010-01-271-12/+10
| | | | JavascriptHelper to add attributes for :confirm
* making non remote versions of link_to, button_to, submit_tag and ↵Erik St. Martin2010-01-275-87/+68
| | | | image_submit_tag output data attributes for things like :confirm, :method, :popup, and :disable_with
* link_to_remote and button_to_remote now support :confirmErik St. Martin2010-01-272-0/+22
|
* test :method option of link_to_remote, and ensure rel='nofollow' is added ↵Stephen St. Martin2010-01-272-0/+6
| | | | when :method => 'delete'
* moving include of ScriptaculousHelper into PrototypeHelper, ActionView ↵Erik St. Martin2010-01-272-2/+3
| | | | should know as little as possible about individual frameworks
* port existing test suite to check for new output, and fix all breaking testsStephen St. Martin2010-01-272-162/+268
|
* fixed current tests that were failing do to module location change, this is ↵Erik St. Martin2010-01-272-3/+10
| | | | temporary to fix state of repo till all the new tests are complete
* first round of documenation for ujsStefan Penner2010-01-271-3/+401
|
* oops, remove test codeStephen St. Martin2010-01-271-1/+0
|
* restructure compatibility module so it is no longer a childStephen St. Martin2010-01-273-25/+28
|
* Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. ↵Erik St. Martin2010-01-275-646/+10
| | | | Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper
* fixing failing tests from last commit, order of attributes matters should ↵Erik St. Martin2010-01-271-2/+2
| | | | probably change this later
* javascript_helper now correctly pulls in ajax_helper instead of ↵Erik St. Martin2010-01-272-3/+3
| | | | prototype_helper. prototype_helper is pulled in by ajax_helper for reverse compatibility
* make observers a little more dryStephen St. Martin2010-01-271-2/+1
|
* fix failing tests from fork/mergeStephen St. Martin2010-01-272-5/+6
|
* rename ajax_test.rb to ajax_helper_test.rb for consistencyStephen St. Martin2010-01-271-0/+0
|
* nuke what appears to be a duplicate and unused test fileStephen St. Martin2010-01-271-454/+0
|
* cleanup some spacingStephen St. Martin2010-01-271-76/+75
|
* extract_remote_attributes should be a private methodStephen St. Martin2010-01-271-10/+10
|
* Added observe_formBob Remeika2010-01-272-8/+23
|
* Added submit_to_remote helperBob Remeika2010-01-272-1/+21
|
* Removed duplicationBob Remeika2010-01-272-8/+20
|
* Changed data-name to data-observed on observe_fieldBob Remeika2010-01-272-18/+26
|
* Refactored ajax helpers so they use a little bit more coherent pattern; ↵Bob Remeika2010-01-272-105/+116
| | | | Removed code duplication from form_remote_tag
* Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵Bob Remeika2010-01-272-42/+58
| | | | form_helper and ajax_helper; Added script_decorator helper
* Changed observe_field to field_observerBob Remeika2010-01-272-2/+2
|
* Changed data-rails-type to data-js-typeBob Remeika2010-01-272-2/+2
|
* Changed data-remote='true' to data-js-type='remote'Bob Remeika2010-01-272-18/+29
|
* remote_form_for tests passBob Remeika2010-01-271-10/+93
|
* Took first stab at reimplementing form_remote_tag helpersBob Remeika2010-01-272-96/+149
|
* Added assert_data_element_json test helper for data element helpersBob Remeika2010-01-272-20/+34
|
* Took another stab at observe_field. Now implementing data only helpers as ↵Bob Remeika2010-01-272-34/+69
| | | | script elements.
* Changed the observe field node into a div with display:noneBob Remeika2010-01-272-11/+20
|
* ObserveFieldTest uses url_for from AjaxTestCaseBob Remeika2010-01-271-0/+51
|
* fixed failing testsStefan Penner2010-01-272-363/+15
|
* Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵Bob Remeika2010-01-272-3/+16
| | | | url_for on all urls passed to it. Tests that were testing different input types for the url were failing because of this.
* Added the beginnings of the observe_field helperBob Remeika2010-01-271-11/+8
|
* Added observe_formBob Remeika2010-01-272-8/+23
|
* Added submit_to_remote helperBob Remeika2010-01-272-1/+21
|
* Removed duplicationBob Remeika2010-01-272-8/+20
|
* Changed data-name to data-observed on observe_fieldBob Remeika2010-01-272-18/+26
|