Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE click event troubles

I have such page

http://автопортал-юга.рф/organizations/all_organizations/1

and in all browser's all is ok, when i click on link "подробнее" - i see ajax data appended to page view... But why IE (in my case 10,11,12) - didn't do anything?

main thing - no error log's or warnings, and i'm confused ( what i do wrong?

ie debugger throw on this js part:

return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ?
                jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
                undefined;

also i use rails 4 and it's turbolinks.

How to solve this issue?

or just how to catch what is bad?

html part:

<a href="/organizations/9" data-remote="true">подробнее...</a>

everybody who minus - first explain why! There is reall issue!

like image 624
brabertaser19 Avatar asked Apr 22 '14 12:04

brabertaser19


1 Answers

Are you sure your error isn't coming from a development gem's incompatibility with IE?

Recently I was getting JS errors from various plugins and extra functionality, e.g. miniprofiler/jquery incompatibility in Chrome. IIRC the error was similar to the one you describe.

Also FWIW to help with IE specific incompatibilities perhaps Modernizr will help

https://github.com/russfrisch/modernizr-rails

like image 166
engineerDave Avatar answered Oct 06 '22 18:10

engineerDave