From: Mike Taylor Date: Tue, 4 Mar 2014 13:02:02 +0000 (+0000) Subject: More reordering. X-Git-Tag: 1.0.0~1342 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=05aca72f00e7b0c1e49a143885fc3b044ec170a6;p=mkws-moved-to-github.git More reordering. --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 93a40a0..ae26ff1 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -503,6 +503,31 @@ function team($, teamName) { } + function redrawNavi () + { + var navi = findnode('.mkwsNavi'); + if (!navi) return; + + var text = ""; + for (var i in m_filters) { + if (text) { + text += " | "; + } + var filter = m_filters[i]; + if (filter.id) { + text += M('source') + ': ' + filter.name + ''; + } else { + text += M(filter.field) + ': ' + filter.value + ''; + } + } + + navi.html(text); + } + + function resetPage() { m_curPage = 1; @@ -646,31 +671,6 @@ function team($, teamName) { } - function redrawNavi () - { - var navi = findnode('.mkwsNavi'); - if (!navi) return; - - var text = ""; - for (var i in m_filters) { - if (text) { - text += " | "; - } - var filter = m_filters[i]; - if (filter.id) { - text += M('source') + ': ' + filter.name + ''; - } else { - text += M(filter.field) + ': ' + filter.value + ''; - } - } - - navi.html(text); - } - - that.showPage = function (pageNum) { m_curPage = pageNum;