Module: nagvis Branch: master Commit: bca8963052ec623af73f7296021a41b51d849be7 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=bca8963052ec623af73f7296021a41b51d849be7
Author: Andriy Skuratov <[email protected]> Date: Fri Aug 28 14:49:29 2009 +0300 gmap:Fixed doubleclick for just created objects. --- uifx/src/modules/gmap/mediator/MainMD.as | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/uifx/src/modules/gmap/mediator/MainMD.as b/uifx/src/modules/gmap/mediator/MainMD.as index f32e791..d95fb4e 100644 --- a/uifx/src/modules/gmap/mediator/MainMD.as +++ b/uifx/src/modules/gmap/mediator/MainMD.as @@ -147,7 +147,11 @@ package modules.gmap.mediator { var slices : Array; - if (element.action == "") + //paranoid check + if(element == null) + return; + + if (element.action == null || element.action == "") slices = settings.defaultLocationAction.split(':', 2); else slices = element.action.split(':', 2); ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
