Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | refactoring AjaxHelper a bit so that it calls shared method from ↵ | Erik St. Martin | 2010-01-27 | 1 | -12/+10 | |
| | | | | JavascriptHelper to add attributes for :confirm | |||||
* | making non remote versions of link_to, button_to, submit_tag and ↵ | Erik St. Martin | 2010-01-27 | 5 | -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 :confirm | Erik St. Martin | 2010-01-27 | 2 | -0/+22 | |
| | ||||||
* | test :method option of link_to_remote, and ensure rel='nofollow' is added ↵ | Stephen St. Martin | 2010-01-27 | 2 | -0/+6 | |
| | | | | when :method => 'delete' | |||||
* | moving include of ScriptaculousHelper into PrototypeHelper, ActionView ↵ | Erik St. Martin | 2010-01-27 | 2 | -2/+3 | |
| | | | | should know as little as possible about individual frameworks | |||||
* | port existing test suite to check for new output, and fix all breaking tests | Stephen St. Martin | 2010-01-27 | 2 | -162/+268 | |
| | ||||||
* | fixed current tests that were failing do to module location change, this is ↵ | Erik St. Martin | 2010-01-27 | 2 | -3/+10 | |
| | | | | temporary to fix state of repo till all the new tests are complete | |||||
* | first round of documenation for ujs | Stefan Penner | 2010-01-27 | 1 | -3/+401 | |
| | ||||||
* | oops, remove test code | Stephen St. Martin | 2010-01-27 | 1 | -1/+0 | |
| | ||||||
* | restructure compatibility module so it is no longer a child | Stephen St. Martin | 2010-01-27 | 3 | -25/+28 | |
| | ||||||
* | Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. ↵ | Erik St. Martin | 2010-01-27 | 5 | -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. Martin | 2010-01-27 | 1 | -2/+2 | |
| | | | | probably change this later | |||||
* | javascript_helper now correctly pulls in ajax_helper instead of ↵ | Erik St. Martin | 2010-01-27 | 2 | -3/+3 | |
| | | | | prototype_helper. prototype_helper is pulled in by ajax_helper for reverse compatibility | |||||
* | make observers a little more dry | Stephen St. Martin | 2010-01-27 | 1 | -2/+1 | |
| | ||||||
* | fix failing tests from fork/merge | Stephen St. Martin | 2010-01-27 | 2 | -5/+6 | |
| | ||||||
* | rename ajax_test.rb to ajax_helper_test.rb for consistency | Stephen St. Martin | 2010-01-27 | 1 | -0/+0 | |
| | ||||||
* | nuke what appears to be a duplicate and unused test file | Stephen St. Martin | 2010-01-27 | 1 | -454/+0 | |
| | ||||||
* | cleanup some spacing | Stephen St. Martin | 2010-01-27 | 1 | -76/+75 | |
| | ||||||
* | extract_remote_attributes should be a private method | Stephen St. Martin | 2010-01-27 | 1 | -10/+10 | |
| | ||||||
* | Added observe_form | Bob Remeika | 2010-01-27 | 2 | -8/+23 | |
| | ||||||
* | Added submit_to_remote helper | Bob Remeika | 2010-01-27 | 2 | -1/+21 | |
| | ||||||
* | Removed duplication | Bob Remeika | 2010-01-27 | 2 | -8/+20 | |
| | ||||||
* | Changed data-name to data-observed on observe_field | Bob Remeika | 2010-01-27 | 2 | -18/+26 | |
| | ||||||
* | Refactored ajax helpers so they use a little bit more coherent pattern; ↵ | Bob Remeika | 2010-01-27 | 2 | -105/+116 | |
| | | | | Removed code duplication from form_remote_tag | |||||
* | Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵ | Bob Remeika | 2010-01-27 | 2 | -42/+58 | |
| | | | | form_helper and ajax_helper; Added script_decorator helper | |||||
* | Changed observe_field to field_observer | Bob Remeika | 2010-01-27 | 2 | -2/+2 | |
| | ||||||
* | Changed data-rails-type to data-js-type | Bob Remeika | 2010-01-27 | 2 | -2/+2 | |
| | ||||||
* | Changed data-remote='true' to data-js-type='remote' | Bob Remeika | 2010-01-27 | 2 | -18/+29 | |
| | ||||||
* | remote_form_for tests pass | Bob Remeika | 2010-01-27 | 1 | -10/+93 | |
| | ||||||
* | Took first stab at reimplementing form_remote_tag helpers | Bob Remeika | 2010-01-27 | 2 | -96/+149 | |
| | ||||||
* | Added assert_data_element_json test helper for data element helpers | Bob Remeika | 2010-01-27 | 2 | -20/+34 | |
| | ||||||
* | Took another stab at observe_field. Now implementing data only helpers as ↵ | Bob Remeika | 2010-01-27 | 2 | -34/+69 | |
| | | | | script elements. | |||||
* | Changed the observe field node into a div with display:none | Bob Remeika | 2010-01-27 | 2 | -11/+20 | |
| | ||||||
* | ObserveFieldTest uses url_for from AjaxTestCase | Bob Remeika | 2010-01-27 | 1 | -0/+51 | |
| | ||||||
* | fixed failing tests | Stefan Penner | 2010-01-27 | 2 | -363/+15 | |
| | ||||||
* | Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵ | Bob Remeika | 2010-01-27 | 2 | -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 helper | Bob Remeika | 2010-01-27 | 1 | -11/+8 | |
| | ||||||
* | Added observe_form | Bob Remeika | 2010-01-27 | 2 | -8/+23 | |
| | ||||||
* | Added submit_to_remote helper | Bob Remeika | 2010-01-27 | 2 | -1/+21 | |
| | ||||||
* | Removed duplication | Bob Remeika | 2010-01-27 | 2 | -8/+20 | |
| | ||||||
* | Changed data-name to data-observed on observe_field | Bob Remeika | 2010-01-27 | 2 | -18/+26 | |
| | ||||||
* | Refactored ajax helpers so they use a little bit more coherent pattern; ↵ | Bob Remeika | 2010-01-27 | 2 | -91/+124 | |
| | | | | Removed code duplication from form_remote_tag | |||||
* | Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵ | Bob Remeika | 2010-01-27 | 3 | -59/+79 | |
| | | | | form_helper and ajax_helper; Added script_decorator helper | |||||
* | Changed observe_field to field_observer | Bob Remeika | 2010-01-27 | 2 | -2/+2 | |
| | ||||||
* | Changed data-rails-type to data-js-type | Bob Remeika | 2010-01-27 | 2 | -2/+2 | |
| | ||||||
* | Changed data-remote='true' to data-js-type='remote' | Bob Remeika | 2010-01-27 | 2 | -18/+29 | |
| | ||||||
* | remote_form_for tests pass | Bob Remeika | 2010-01-27 | 1 | -10/+93 | |
| | ||||||
* | Took first stab at reimplementing form_remote_tag helpers | Bob Remeika | 2010-01-27 | 2 | -24/+164 | |
| | ||||||
* | Added assert_data_element_json test helper for data element helpers | Bob Remeika | 2010-01-27 | 2 | -20/+34 | |
| | ||||||
* | Took another stab at observe_field. Now implementing data only helpers as ↵ | Bob Remeika | 2010-01-27 | 2 | -34/+69 | |
| | | | | script elements. |