From 63454ba4cd4c51013bf30d40be063d51b86d8c30 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 11 Feb 2014 12:07:22 +0000 Subject: [PATCH] Navigation to individual pages made team-aware. --- tools/htdocs/mkws.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 */ -- 1.7.10.4