Browse Source

bug修改

li 7 years ago
parent
commit
d9d789bad3
2 changed files with 4 additions and 4 deletions
  1. 3 3
      js/inform.js
  2. 1 1
      js/leaveWord.js

+ 3 - 3
js/inform.js

106
				url: "/ajax/article/query?articleId="+dobj.pid
106
				url: "/ajax/article/query?articleId="+dobj.pid
107
			}).done(function(data) {
107
			}).done(function(data) {
108
				if(data.success) {
108
				if(data.success) {
109
					window.openURL("shtml/a/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
109
					window.open("shtml/a/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
110
				}
110
				}
111
			});
111
			});
112
		} else if(dobj.opType == 3 || dobj.opType == 4 ) {
112
		} else if(dobj.opType == 3 || dobj.opType == 4 ) {
119
				url: "ajax/ppatent/qo?id="+dobj.pid
119
				url: "ajax/ppatent/qo?id="+dobj.pid
120
			}).done(function(data) {
120
			}).done(function(data) {
121
				if(data.success) {
121
				if(data.success) {
122
					window.openURL("shtml/pt/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
122
					window.open("shtml/pt/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
123
				}
123
				}
124
			});
124
			});
125
		} else if(dobj.opType == 7) {
125
		} else if(dobj.opType == 7) {
127
				url: "ajax/ppaper/qo?id="+dobj.pid
127
				url: "ajax/ppaper/qo?id="+dobj.pid
128
			}).done(function(data) {
128
			}).done(function(data) {
129
				if(data.success) {
129
				if(data.success) {
130
					window.openURL("shtml/pp/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
130
					window.open("shtml/pp/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
131
				}
131
				}
132
			});
132
			});
133
		} else {
133
		} else {

+ 1 - 1
js/leaveWord.js

51
				return;
51
				return;
52
			}
52
			}
53
			if(!self.id) {
53
			if(!self.id) {
54
				$(".commentList").html("").parent().append("<div class="con-kong displayNone"></div>");
54
				$(".commentList").html("").parent().append("<div class='con-kong displayNone'></div>");
55
			}
55
			}
56
			for(var i = 0; i < data.length; i++) {
56
			for(var i = 0; i < data.length; i++) {
57
				var reply="";
57
				var reply="";