fixed a sorting bug in webui popup window

This commit is contained in:
SJ 2012-11-21 22:53:55 +01:00
parent 4b37be8f19
commit 9c9f59ac52

View File

@ -330,9 +330,15 @@ function assemble_search_term(n) {
function fix_search_order(sort, order) { function fix_search_order(sort, order) {
var a; var a;
a = document.getElementById('xsort');
if(a) a.value = sort;
a = document.getElementById('sort'); a = document.getElementById('sort');
a.value = sort; a.value = sort;
a = document.getElementById('xorder');
if(a) a.value = order;
a = document.getElementById('order'); a = document.getElementById('order');
a.value = order; a.value = order;
} }