From: Mike Taylor Date: Tue, 11 Feb 2014 12:07:22 +0000 (+0000) Subject: Navigation to individual pages made team-aware. X-Git-Tag: 1.0.0~1491 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=63454ba4cd4c51013bf30d40be063d51b86d8c30;p=mkws-moved-to-github.git Navigation to individual pages made team-aware. --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 05bb91c..023f7f8 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -669,7 +669,7 @@ function team($, teamName) { if(i == m_curPage) numLabel = '' + i + ''; - middle += ' ' + middle += ' ' + numLabel + ' '; } @@ -693,7 +693,7 @@ function team($, teamName) { } - mkws.showPage = function (pageNum) + that.showPage = function (pageNum) { m_curPage = pageNum; m_paz.showPage(m_curPage - 1); @@ -1356,6 +1356,9 @@ function _mkws_jquery_plugin ($) { mkws.teams[tname].delimitQuery(field, value); } + mkws.showPage = function (tname, pageNum) { + mkws.teams[tname].showPage(pageNum); + } function default_mkws_config() { /* default mkws config */