Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | removing container inline js function of observed elements :function callback | Erik St. Martin | 2010-01-27 | 2 | -7/+10 | |
| | | ||||||
* | | moving html_safe call into helpers directly as they only work from that level | Erik St. Martin | 2010-01-27 | 1 | -4/+4 | |
| | | ||||||
* | | start of prototype driver, missing observe_form, observe_field, and ↵ | Erik St. Martin | 2010-01-27 | 1 | -0/+279 | |
| | | | | | | | | periodically_call_remote | |||||
* | | periodically_call_remote does not need data-observe=true | Erik St. Martin | 2010-01-27 | 2 | -2/+5 | |
| | | ||||||
* | | need to tell erb that our <script> tag is html_safe | Erik St. Martin | 2010-01-27 | 1 | -1/+1 | |
| | | ||||||
* | | test to go with last commit, explicit :href for link_to_remote | Erik St. Martin | 2010-01-27 | 1 | -0/+5 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | support for submit_to_remote in jquery driver | Stephen St. Martin | 2010-01-27 | 1 | -3/+3 | |
| | | ||||||
* | | fix duplidate data-submit attribute, submit_to_remote should test url | Stephen St. Martin | 2010-01-27 | 2 | -3/+3 | |
| | | ||||||
* | | upgrade jquery to 1.4.1 and default request method to GET as its default on ↵ | Stephen St. Martin | 2010-01-27 | 3 | -152/+153 | |
| | | | | | | | | forms and links | |||||
* | | remote_form_for now supports :confirm | Erik St. Martin | 2010-01-27 | 1 | -0/+5 | |
| | | ||||||
* | | refractor handler code for remote_form_tag to also handle link_to_remote, ↵ | Stephen St. Martin | 2010-01-27 | 2 | -24/+53 | |
| | | | | | | | | fix a bug preventing :method from being used, also add missing :position, :confirm is still not functional yet | |||||
* | | account for the fact a few options may be passed as symbols and need to be ↵ | Erik St. Martin | 2010-01-27 | 2 | -4/+17 | |
| | | | | | | | | converted to string | |||||
* | | initial jquery driver and compat, right now the only supported method is ↵ | Stephen St. Martin | 2010-01-27 | 3 | -0/+233 | |
| | | | | | | | | form_remote_tag | |||||
* | | 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 | 2 | -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 module | Stephen St. Martin | 2010-01-27 | 1 | -13/+26 | |
| | | ||||||
* | | add missing test for :with option to link_to_remote | Stephen St. Martin | 2010-01-27 | 1 | -0/+6 | |
| | | ||||||
* | | fixing last merge breakage | Erik St. Martin | 2010-01-27 | 2 | -13/+0 | |
| | | ||||||
* | | add missing :before and :after callbacks for link_to_remote | Stephen St. Martin | 2010-01-27 | 2 | -1/+6 | |
| | | ||||||
* | | making non remote versions of link_to, button_to, submit_tag and ↵ | Erik St. Martin | 2010-01-27 | 1 | -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 :confirm | Erik St. Martin | 2010-01-27 | 1 | -0/+10 | |
| | | ||||||
* | | modified helper that adds attributes for :method to include rel='nofollow' ↵ | Erik St. Martin | 2010-01-27 | 2 | -3/+4 | |
| | | | | | | | | if :method => :delete, same as its remote_ equivalent | |||||
* | | 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 | |
| | |