From 3fc81895e7e44238b18f89d816ad384143d4be9f Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 12 Nov 2018 15:30:06 +0800
Subject: [PATCH] update

---
 src/main/webapp/js/moralmap.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/js/moralmap.js b/src/main/webapp/js/moralmap.js
index 3701f05..2223c7f 100644
--- a/src/main/webapp/js/moralmap.js
+++ b/src/main/webapp/js/moralmap.js
@@ -768,6 +768,9 @@
 		//���������������
 		moralMap.putEquipment(option['mac'], moralMarker);
 		var _super_refreshState = moralMarker.refreshState;
+		if (!showEquipmentInfoWindow) {
+			showEquipmentInfoWindow = infoWindow;
+		}
 		return $.extend(moralMarker, {
 			refreshState: function(data) {
 				if(data != null && data!="") {
@@ -816,9 +819,6 @@
 				return this.getOption()["data"];
 			}
 		});
-		if (!showEquipmentInfoWindow) {
-			showEquipmentInfoWindow = infoWindow;
-		}
 	}
 	//������MonitorPoint������
 	moralMap.putEquipment = function(key, obj) {

--
Gitblit v1.8.0