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:
940e397
)
Currently selected page is marked by a <span class="mkwsSelected">
author
Mike Taylor
<mike@indexdata.com>
Thu, 10 Apr 2014 12:20:48 +0000
(13:20 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 10 Apr 2014 12:20:48 +0000
(13:20 +0100)
src/mkws-widgets.js
patch
|
blob
|
history
diff --git
a/src/mkws-widgets.js
b/src/mkws-widgets.js
index
087ce89
..
3901f67
100644
(file)
--- a/
src/mkws-widgets.js
+++ b/
src/mkws-widgets.js
@@
-190,7
+190,7
@@
mkws.registerWidgetType('Pager', function() {
for(var i = firstClkbl; i <= lastClkbl; i++) {
var numLabel = i;
if(i == currentPage)
- numLabel = '<b>' + i + '</b>';
+ numLabel = '<span class="mkwsSelected">' + i + '</span>';
middle += '<a href="#" onclick="mkws.showPage(\'' + teamName + '\', ' + i + ')"> '
+ numLabel + ' </a>';