[openmairie-framework-Commits] r4332 - openmairie_exemple/branches/4.9.0-develop/lib/om-assets/js

0 views
Skip to first unread message

fmi...@adullact.net

unread,
Jun 22, 2018, 5:41:40 AM6/22/18
to openmairie...@googlegroups.com
Author: fmichon
Date: 2018-06-22 11:41:37 +0200 (Fri, 22 Jun 2018)
New Revision: 4332

Modified:
openmairie_exemple/branches/4.9.0-develop/lib/om-assets/js/sig.js
Log:
* Correction : L'ajout d'un flux (qui n'est pas un fond de carte) cassait le javascript ?\195?\160 cause d'une variable non v?\195?\169rifi?\195?\169e avant utilisation.


Modified: openmairie_exemple/branches/4.9.0-develop/lib/om-assets/js/sig.js
===================================================================
--- openmairie_exemple/branches/4.9.0-develop/lib/om-assets/js/sig.js 2018-06-21 10:39:59 UTC (rev 4331)
+++ openmairie_exemple/branches/4.9.0-develop/lib/om-assets/js/sig.js 2018-06-22 09:41:37 UTC (rev 4332)
@@ -1455,7 +1455,7 @@
lst_overlays = [];
for(var i=0; i<fl_w_id.length; i++) {
if (fl_m_baselayer[i] != 't' && fl_m_panier[i] != 't') {
- if (typeof(s_visibility)=='object') {
+ if (s_visibility !== null && typeof(s_visibility)=='object') {
if (s_visibility[lst_overlays.length]=='Oui')
fl_m_visibility[i] ='t'
else

Reply all
Reply to author
Forward
0 new messages