mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-07-27 07:45:41 +00:00
bugfix for records sorting
This commit is contained in:
@@ -117,7 +117,11 @@ var recorder;
|
||||
function initRecordSet(){
|
||||
$.getJSON("/lastestLog",function(res){
|
||||
if(typeof res == "object"){
|
||||
recordSet = res;
|
||||
res.map(function(item){
|
||||
if(item.id){
|
||||
recordSet[item.id] = item;
|
||||
}
|
||||
});
|
||||
eventCenter.dispatchEvent("recordSetUpdated");
|
||||
}
|
||||
});
|
||||
|
186
web/page.js
186
web/page.js
File diff suppressed because one or more lines are too long
@@ -117,7 +117,11 @@ var recorder;
|
||||
function initRecordSet(){
|
||||
$.getJSON("/lastestLog",function(res){
|
||||
if(typeof res == "object"){
|
||||
recordSet = res;
|
||||
res.map(function(item){
|
||||
if(item.id){
|
||||
recordSet[item.id] = item;
|
||||
}
|
||||
});
|
||||
eventCenter.dispatchEvent("recordSetUpdated");
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user