From a38a0bb03d4cfe8722dafc4806fd6859ce75a8f1 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 17 Jun 2010 01:21:22 -0400 Subject: [PATCH] fix logic - we might not actually have a yahoo map layer here. --- horde/js/hordemap/yahoo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/horde/js/hordemap/yahoo.js b/horde/js/hordemap/yahoo.js index b9d7408ba..6b164d32c 100644 --- a/horde/js/hordemap/yahoo.js +++ b/horde/js/hordemap/yahoo.js @@ -43,7 +43,8 @@ HordeMap.Geocoder.Yahoo = Class.create( this._map = mo; } } - } else { + } + if (!this._map) { this._map = new YMap(new Element('div')); } }, -- 2.11.0