From 4a525952016dea9d49fcbbfc03eba8dc09e02fae Mon Sep 17 00:00:00 2001 From: btredback <564277411@qq.com> Date: Sat, 17 Jun 2017 12:59:11 +0800 Subject: [PATCH] modified --- static/src/js/website_baidu_map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/src/js/website_baidu_map.js b/static/src/js/website_baidu_map.js index 0ed68c2..ab4158d 100644 --- a/static/src/js/website_baidu_map.js +++ b/static/src/js/website_baidu_map.js @@ -2,7 +2,7 @@ function initialize_map() { console.log("imap:" + testValue); var mapVal = "testValue of Map"; //$(window.parent.document).find("div.mapVal").text("1223"); - window.parent.document.getElementById("mapVal").innerHTML = mapVal; + //window.parent.document.getElementById("mapVal").innerHTML = mapVal; var map = new BMap.Map("odoo-baidu-map"); var point = new BMap.Point(116.404, 39.915); map.centerAndZoom(point, 15)