Update stats.js

pull/556/head
Mr Chen 1 year ago
parent 0f1127e502
commit fdf8f30d90
  1. 11
      plugins/webstats/js/stats.js

@ -2267,20 +2267,21 @@ function wsTableLogRequest(page){
$('#ws_table').html(table); $('#ws_table').html(table);
$('#wsPage').html(rdata.data.page); $('#wsPage').html(rdata.data.page);
$('input[name="ip"]').focus().keyup(function(e){ $('input[name="ip"]').bind('focus', function(e){
$(this).keyup(function(e){
if(e.keyCode == 13) { if(e.keyCode == 13) {
wsTableLogRequest(1); wsTableLogRequest(1);
} }
}); });
});
$('input[name="search_uri"]').focus().keyup(function(e){ $('input[name="search_uri"]').bind('focus', function(e){
$(this).keyup(function(e){
if(e.keyCode == 13) { if(e.keyCode == 13) {
wsTableLogRequest(1); wsTableLogRequest(1);
} }
}); });
});
$(".tablescroll .details").click(function(){ $(".tablescroll .details").click(function(){
var index = $(this).attr('data-id'); var index = $(this).attr('data-id');

Loading…
Cancel
Save