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:
c301a8e
)
Support target and field facets in hashchange handler.
author
Mike Taylor
<mike@indexdata.com>
Fri, 8 May 2015 23:04:44 +0000
(
00:04
+0100)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 8 May 2015 23:04:44 +0000
(
00:04
+0100)
Working nicely!
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
04d83e8
..
17f0f1f
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-134,6
+134,11
@@
mkws.makeTeam = function($, teamName) {
if (that.submitted()) {
that.reShow();
}
+ } else if (key.indexOf('xt-') == 0) {
+ that.limitTarget(key.substring(3), val);
+ } else if (key.indexOf('xf-') == 0) {
+ var a = key.split('-');
+ that.limitQuery(a[1], a[2]);
}
}
}