GeoView : bug #4002 console message: undefined @1: ReferenceError: Can't find variable: addcrosshair
svn: r15447
This commit is contained in:
parent
7376843595
commit
a40d4c4482
@ -996,7 +996,8 @@ class GeoView(HtmlView):
|
||||
elif year != "no":
|
||||
self.last_selected_year = 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.crosspath))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user