[Users] Clicking on OpenLayers map doesn't hide Ext menus[SEC=UNCLASSIFIED]
Dwyer, Andrew
Andrew.Dwyer at dsto.defence.gov.au
Thu Jul 8 09:03:09 CEST 2010
UNCLASSIFIED
Thanks James
It was the Ext.menu.MenuMgr.hideAll() line that I was looking for.
I went with the mousedown event. That way the menus get dismissed as
soon as the map interaction starts
Ext.fly(map.layerContainerDiv).on('mousedown', function (e) {
Ext.menu.MenuMgr.hideAll();
});
IMPORTANT: This email remains the property of the Department of Defence
and is subject to the jurisdiction of section 70 of the Crimes Act 1914.
If you have received this email in error, you are requested to contact
the sender and delete the email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100708/06512e28/attachment.htm
More information about the Users
mailing list