Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow admin store credit memo to be changed using rails-ujs
rails-ujs has a different api handling ajax events than jquery_ujs. The former passes all the event information into the event.detail object while the latter accept different parameters. For more details see: - https://edgeguides.rubyonrails.org/working_with_javascript_in_rails.html#rails-ujs-event-handlers - https://github.com/rails/jquery-ujs/wiki/ajax
- Loading branch information