Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | updated tests + docs, plus minor inconsistency fixes | Stefan Penner | 2010-01-27 | 1 | -52/+90 |
| | |||||
* | tests + docs | Stefan Penner | 2010-01-27 | 1 | -62/+90 |
| | |||||
* | observe_form now supports :with option as it should | Erik St. Martin | 2010-01-27 | 1 | -0/+10 |
| | |||||
* | :href should be comming in through html_options and not options | Erik St. Martin | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | removing container inline js function of observed elements :function callback | Erik St. Martin | 2010-01-27 | 1 | -5/+1 |
| | |||||
* | moving html_safe call into helpers directly as they only work from that level | Erik St. Martin | 2010-01-27 | 1 | -4/+4 |
| | |||||
* | periodically_call_remote does not need data-observe=true | Erik St. Martin | 2010-01-27 | 1 | -0/+3 |
| | |||||
* | need to tell erb that our <script> tag is html_safe | Erik St. Martin | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | adding :href override to link_to_remote | Erik St. Martin | 2010-01-27 | 1 | -1/+3 |
| | |||||
* | adding support for :disable_with to button_to_remote | Erik St. Martin | 2010-01-27 | 1 | -0/+4 |
| | |||||
* | fix duplidate data-submit attribute, submit_to_remote should test url | Stephen St. Martin | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | remote_form_for now supports :confirm | Erik St. Martin | 2010-01-27 | 1 | -0/+5 |
| | |||||
* | account for the fact a few options may be passed as symbols and need to be ↵ | Erik St. Martin | 2010-01-27 | 1 | -4/+12 |
| | | | | converted to string | ||||
* | add missing call to set_with_and_condition_attributes for form_remote_tag | Stephen St. Martin | 2010-01-27 | 1 | -0/+1 |
| | |||||
* | removing Prototype inline js for attributes for :with and :condition, it now ↵ | Erik St. Martin | 2010-01-27 | 1 | -14/+14 |
| | | | | 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 module | Stephen St. Martin | 2010-01-27 | 1 | -13/+26 |
| | |||||
* | fixing last merge breakage | Erik St. Martin | 2010-01-27 | 1 | -10/+0 |
| | |||||
* | add missing :before and :after callbacks for link_to_remote | Stephen St. Martin | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | link_to_remote and button_to_remote now support :confirm | Erik St. Martin | 2010-01-27 | 1 | -0/+10 |
| | |||||
* | 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 | ||||
* | link_to_remote and button_to_remote now support :confirm | Erik St. Martin | 2010-01-27 | 1 | -0/+12 |
| | |||||
* | test :method option of link_to_remote, and ensure rel='nofollow' is added ↵ | Stephen St. Martin | 2010-01-27 | 1 | -0/+1 |
| | | | | when :method => 'delete' | ||||
* | port existing test suite to check for new output, and fix all breaking tests | Stephen St. Martin | 2010-01-27 | 1 | -41/+45 |
| | |||||
* | fixed current tests that were failing do to module location change, this is ↵ | Erik St. Martin | 2010-01-27 | 1 | -0/+2 |
| | | | | 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 | 1 | -22/+25 |
| | |||||
* | Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. ↵ | Erik St. Martin | 2010-01-27 | 1 | -1/+4 |
| | | | | Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper | ||||
* | javascript_helper now correctly pulls in ajax_helper instead of ↵ | Erik St. Martin | 2010-01-27 | 1 | -2/+2 |
| | | | | 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 | 1 | -3/+4 |
| | |||||
* | 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 | 1 | -0/+8 |
| | |||||
* | Added submit_to_remote helper | Bob Remeika | 2010-01-27 | 1 | -0/+10 |
| | |||||
* | Removed duplication | Bob Remeika | 2010-01-27 | 1 | -8/+8 |
| | |||||
* | Changed data-name to data-observed on observe_field | Bob Remeika | 2010-01-27 | 1 | -11/+19 |
| | |||||
* | Refactored ajax helpers so they use a little bit more coherent pattern; ↵ | Bob Remeika | 2010-01-27 | 1 | -70/+70 |
| | | | | Removed code duplication from form_remote_tag | ||||
* | Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵ | Bob Remeika | 2010-01-27 | 1 | -23/+27 |
| | | | | form_helper and ajax_helper; Added script_decorator helper | ||||
* | Changed observe_field to field_observer | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Changed data-rails-type to data-js-type | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Changed data-remote='true' to data-js-type='remote' | Bob Remeika | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Took first stab at reimplementing form_remote_tag helpers | Bob Remeika | 2010-01-27 | 1 | -96/+26 |
| | |||||
* | Added assert_data_element_json test helper for data element helpers | Bob Remeika | 2010-01-27 | 1 | -4/+6 |
| | |||||
* | Took another stab at observe_field. Now implementing data only helpers as ↵ | Bob Remeika | 2010-01-27 | 1 | -11/+41 |
| | | | | script elements. | ||||
* | Changed the observe field node into a div with display:none | Bob Remeika | 2010-01-27 | 1 | -3/+8 |
| | |||||
* | Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵ | Bob Remeika | 2010-01-27 | 1 | -0/+6 |
| | | | | 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 | 1 | -0/+8 |
| | |||||
* | Added submit_to_remote helper | Bob Remeika | 2010-01-27 | 1 | -0/+10 |
| |