projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
13a8a21
)
Navigation to individual pages made team-aware.
author
Mike Taylor
<mike@indexdata.com>
Tue, 11 Feb 2014 12:07:22 +0000
(12:07 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 11 Feb 2014 12:07:22 +0000
(12:07 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
05bb91c
..
023f7f8
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-669,7
+669,7
@@
function team($, teamName) {
if(i == m_curPage)
numLabel = '<b>' + i + '</b>';
if(i == m_curPage)
numLabel = '<b>' + i + '</b>';
- middle += '<a href="#" onclick="mkws.showPage(' + i + ')"> '
+ middle += '<a href="#" onclick="mkws.showPage(\'' + m_teamName + '\', ' + i + ')"> '
+ numLabel + ' </a>';
}
+ numLabel + ' </a>';
}
@@
-693,7
+693,7
@@
function team($, teamName) {
}
}
- mkws.showPage = function (pageNum)
+ that.showPage = function (pageNum)
{
m_curPage = pageNum;
m_paz.showPage(m_curPage - 1);
{
m_curPage = pageNum;
m_paz.showPage(m_curPage - 1);
@@
-1356,6
+1356,9
@@
function _mkws_jquery_plugin ($) {
mkws.teams[tname].delimitQuery(field, value);
}
mkws.teams[tname].delimitQuery(field, value);
}
+ mkws.showPage = function (tname, pageNum) {
+ mkws.teams[tname].showPage(pageNum);
+ }
function default_mkws_config() {
/* default mkws config */
function default_mkws_config() {
/* default mkws config */