|
@@ -336,7 +336,7 @@ function structureHtml(object){
|
|
|
+'<div style="clear:both;"></div>'
|
|
|
+'</div>'
|
|
|
|
|
|
- tablehtml+='<tr class="+visited+" onclick="tablejump("'+obj["_id"]+'","","'+mWords+'",$(this))" push_date="'+obj["ca_date"]+'" openlist_index="'+obj["ca_openlist_index"]+'">'
|
|
|
+ tablehtml+='<tr class="+visited+" onclick="tablejump($(this))" data_id="'+obj["_id"]+'" data_mWords="'+mWords+'" push_date="'+obj["ca_date"]+'" openlist_index="'+obj["ca_openlist_index"]+'">'
|
|
|
+'<td>'+count+'</td>'
|
|
|
+'<td>'+title+'</td>'
|
|
|
+'<td>'+datatypeTable+'</td>'
|
|
@@ -396,10 +396,13 @@ function appendList(content,tablehtml){
|
|
|
$(".findnull").hide();
|
|
|
$(".listcontent").show();
|
|
|
}
|
|
|
-function tablejump(eid,h,sds,t){
|
|
|
+function tablejump(t){
|
|
|
+ var eid = t.attr("data_id");
|
|
|
+ var h = "";
|
|
|
+ var sds = t.attr("data_mWords");
|
|
|
var index = t.attr("openlist_index");//序列
|
|
|
var pdate =t.attr("push_date");//日期id
|
|
|
- var isv=obj.hasClass("visited");//是否为已读
|
|
|
+ var isv=t.hasClass("visited");//是否为已读
|
|
|
setVisitedIndex(t,eid);
|
|
|
beforeJump(eid,h,sds,index,pdate,isv);
|
|
|
}
|