[freeside-commits] branch FREESIDE_3_BRANCH updated. 528880a776025ff165fdd0b5d73811eb6d49dd9d
Mark Wells
mark at 420.am
Mon Nov 30 20:17:12 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via 528880a776025ff165fdd0b5d73811eb6d49dd9d (commit)
from 16062ec78d33d4d3b9c996eb057a331837fc65f8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 528880a776025ff165fdd0b5d73811eb6d49dd9d
Author: Mark Wells <mark at freeside.biz>
Date: Mon Nov 30 20:13:05 2015 -0800
use stable version of google maps API, #30260
diff --git a/httemplate/elements/polygon.html b/httemplate/elements/polygon.html
index d75b9d0..062aa48 100644
--- a/httemplate/elements/polygon.html
+++ b/httemplate/elements/polygon.html
@@ -10,7 +10,7 @@ my $vertices_json = $opt{'curr_value'} || '[]';
<div id="<% $div_id %>" style="height: 600px; width: 600px"></div>
<script src="<% $fsurl %>elements/jquery.js"></script>
-<script src="https://maps.googleapis.com/maps/api/js?libraries=drawing"></script>
+<script src="https://maps.googleapis.com/maps/api/js?libraries=drawing&v=2"></script>
<script>
var map;
var drawingManager;
@@ -22,7 +22,7 @@ function updateFormInput(event) {
var xy = path.getAt(i);
vertices[i] = [ xy.lat(), xy.lng() ];
}
- console.log(vertices); //XXX
+ if (console) console.log(vertices); //XXX
$('#<% $field %>').prop('value', JSON.stringify(vertices));
}
-----------------------------------------------------------------------
Summary of changes:
httemplate/elements/polygon.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list