OpenLayers OpenLayers

Ticket #568: foundEntry.patch

File foundEntry.patch, 0.6 kB (added by euzuro, 2 years ago)

oops! foundEntry needs to be set *before* the break

  • lib/OpenLayers/Events.js

    old new  
    171171                        if (elementObservers.length == 0) { 
    172172                            OpenLayers.Event.observers[element.id] = null; 
    173173                        } 
     174                        foundEntry = true; 
    174175                        break;  
    175                         foundEntry = true; 
    176176                    } 
    177177                    i++;            
    178178                }