remove debugging code
[roojs1] / Roo / bootstrap / LocationPicker.js
index 1b55775..0de0d63 100644 (file)
@@ -271,7 +271,7 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
     
     getGmapContext: function() 
     {
-        return this.gMapContext
+        return (typeof(this.gMapContext) == 'undefined') ? false : this.gMapContext;
     },
     
     GMapContext: function()