GeoView : bug #4002 console message: undefined @1: ReferenceError: Can't find variable: addcrosshair
svn: r15448
This commit is contained in:
parent
bedbf0084f
commit
80c94857ed
@ -1033,7 +1033,8 @@ class GeoView(HtmlView):
|
|||||||
elif year != "no":
|
elif year != "no":
|
||||||
self.last_selected_year = year
|
self.last_selected_year = year
|
||||||
self._call_js_selectmarkers(year)
|
self._call_js_selectmarkers(year)
|
||||||
self.renderer.execute_script("javascript:addcrosshair('%d','%s')" %
|
if self.javascript_ready:
|
||||||
|
self.renderer.execute_script("javascript:addcrosshair('%d','%s')" %
|
||||||
(self._config.get("preferences.crosshair"),
|
(self._config.get("preferences.crosshair"),
|
||||||
self.crosspath))
|
self.crosspath))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user