// Some functions are visible as member-functions to be called from
// outside code -- specifically, from generated HTML. These functions
// are that.switchView(), showDetails(), limitTarget(), limitQuery(),
-// delimitTarget(), delimitQuery(), showPage(), pagerPrev(),
-// pagerNext().
+// limitCategory(), delimitTarget(), delimitQuery(), showPage(),
+// pagerPrev(), pagerNext().
//
function team($, teamName) {
var that = {};
};
+ that.limitCategory = function(id) {
+ log("limitCategory(id=" + id + ")");
+ m_filters.push({ id: id });
+ //triggerSearch();
+ return false;
+ };
+
+
that.delimitTarget = function(id) {
log("delimitTarget(id=" + id + ")");
removeMatchingFilters(function(f) { return f.id });