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:
4bd749e
)
Add special ctaegory "[All]" to dropdown.
author
Mike Taylor
<mike@indexdata.com>
Tue, 22 Apr 2014 13:12:54 +0000
(14:12 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 22 Apr 2014 13:12:54 +0000
(14:12 +0100)
src/mkws-widget-categories.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-categories.js
b/src/mkws-widget-categories.js
index
c80bc0c
..
6ce09fe
100644
(file)
--- a/
src/mkws-widget-categories.js
+++ b/
src/mkws-widget-categories.js
@@
-22,6
+22,7
@@
mkws.registerWidgetType('Categories', function() {
text.push("Select category: ");
text.push("<select name='mkwsCategory' " +
"onchange='mkws.limitCategory(\"" + that.team.name() + "\", this.value)'>");
+ text.push("<option value=''>[All]</option>");
$(data).find('category').each(function() {
var name = $(this).find('categoryName').text();
var id = $(this).find('categoryId').text();