trantuanvn / jquery-ui-map

Automatically exported from code.google.com/p/jquery-ui-map
0 stars 0 forks source link

Conflict with jeegoocontext Plugin #83

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Include jeegoocontext ( http://www.tweego.nl/jeegoocontext ) 
jquery.jeegoocontext-2.0.0.js

2. Include jquery.ui.map.js
3. Open a Contextmenu with two options that have submenus

What is the expected output? What do you see instead?

An Error occurs in the jquery.ui.map.js (google not defined) while hovering 
options in the contextmenu and so preventing the contextmenu to work properly.

What version of the product are you using? On what operating system?
v3 RC

Please provide any additional information below.

Removing "mouseover" from this code in jquery.ui.map.js prevents the problem.

jQuery.each(('click rightclick dblclick mouseover mouseout drag 
dragend').split(' '), function(i, name) {
        jQuery.fn[name] = function(a, b) {
            return this.addEventListener(name, a, b);
        }
    });

Original issue reported on code.google.com by Thomask...@googlemail.com on 25 Feb 2014 at 2:16