[freeside-commits] branch FREESIDE_4_BRANCH updated. 8c943420b95eda0807c500c7370589d96f13d99c
Mark Wells
mark at 420.am
Mon Nov 30 20:17:13 PST 2015
The branch, FREESIDE_4_BRANCH has been updated
via 8c943420b95eda0807c500c7370589d96f13d99c (commit)
from a5374d6ff776a26343e09b84204acd19b7d85e51 (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 8c943420b95eda0807c500c7370589d96f13d99c
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