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:
cb74ca8
)
Categories widget invokes mkws.limitCategory
author
Mike Taylor
<mike@indexdata.com>
Tue, 22 Apr 2014 13:11:56 +0000
(14:11 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 22 Apr 2014 13:11:56 +0000
(14:11 +0100)
src/mkws-widget-categories.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-categories.js
b/src/mkws-widget-categories.js
index
4d2f7e7
..
c80bc0c
100644
(file)
--- a/
src/mkws-widget-categories.js
+++ b/
src/mkws-widget-categories.js
@@
-20,7
+20,8
@@
mkws.registerWidgetType('Categories', function() {
var text = [];
text.push("Select category: ");
- text.push("<select name='mkwsCategory' onchange='alert(1)'>");
+ text.push("<select name='mkwsCategory' " +
+ "onchange='mkws.limitCategory(\"" + that.team.name() + "\", this.value)'>");
$(data).find('category').each(function() {
var name = $(this).find('categoryName').text();
var id = $(this).find('categoryId').text();