prototype-ujs icon indicating copy to clipboard operation
prototype-ujs copied to clipboard

Links created with a data-method or data-remote attribute submit via right click

Open dvandersluis opened this issue 13 years ago • 0 comments

Although $('link').on('click', function(event) { ... }) only responds to left clicks, document.on('click', '[selector]', function(event, el) { ... }) responds to right click as well, which has the byproduct of causing remote links or links with a method specified to submit when right clicked on.

dvandersluis avatar Dec 21 '11 18:12 dvandersluis