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:
3cf50cf
)
team.targetFiltered now simply delegates to m_filterSet.targetFiltered
author
Mike Taylor
<mike@indexdata.com>
Wed, 23 Apr 2014 14:06:16 +0000
(15:06 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 23 Apr 2014 14:06:16 +0000
(15:06 +0100)
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
a1e942c
..
91a411c
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-163,13
+163,7
@@
function team($, teamName) {
that.targetFiltered = function(id) {
- for (var i = 0; i < m_filterSet.list().length; i++) {
- if (m_filterSet.list()[i].id === id ||
- m_filterSet.list()[i].id === 'pz:id=' + id) {
- return true;
- }
- }
- return false;
+ return m_filterSet.targetFiltered(id);
};