jquery-collagePlus icon indicating copy to clipboard operation
jquery-collagePlus copied to clipboard

Conflict with Motools

Open sarwarcse opened this issue 11 years ago • 3 comments

Hi, I am adding this into gantry framework. they use Motools. when i add this then i got extra request from motools of the request url for each item. Please see the image b

Please advice me what should I do?

sarwarcse avatar May 15 '14 11:05 sarwarcse

Same problem. If I call collageplus with mootools.js on the same page then mootools goes haywire making thousands of ajax request. jQuery is in noconflict mode so there should be no problem with $ identifier. No idea how to debug this :(

AfzalH avatar Feb 03 '15 15:02 AfzalH

I was able to detect the cause of the problem and solve it. Cause: triggering load event was causing mootools to load the page over and over Suggested Fix: instead of triggering the load event we can create a custom event loadc and bind that to image.complete or load event This fix is applied in my fork https://github.com/AfzalH/jquery-collagePlus

AfzalH avatar Feb 04 '15 07:02 AfzalH

Thanks for the PR. Taking a look.

ed-lea avatar Feb 04 '15 16:02 ed-lea