[freeside-commits] branch master updated. 1d9bee7e321b4ec2db3250af5f4d9240725b1974
Mark Wells
mark at 420.am
Mon Nov 30 20:17:13 PST 2015
The branch, master has been updated
via 1d9bee7e321b4ec2db3250af5f4d9240725b1974 (commit)
from 17c42abd0c3c836c3ae511867f1cac2417b6907e (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 1d9bee7e321b4ec2db3250af5f4d9240725b1974
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 c26e985..41ba653 100644
--- a/httemplate/elements/polygon.html
+++ b/httemplate/elements/polygon.html
@@ -9,7 +9,7 @@ my $vertices_json = $opt{'curr_value'} || '[]';
<& hidden.html, %opt &>
<div id="<% $div_id %>" style="height: 600px; width: 600px"></div>
-<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;
@@ -21,7 +21,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