of redrawNavi and resetPage. I removed those invocations and now
triggerSearch itself starts by invoking them.
}
m_filters = []
- redrawNavi();
- resetPage();
triggerSearch(query, sortOrder, targets);
switchView('records'); // In case it's configured to start off as hidden
m_submitted = true;
function triggerSearch (query, sortOrder, targets)
{
+ redrawNavi();
+ resetPage();
+
var pp2filter = "";
var pp2limit = "";
{
debug("limitTarget(id=" + id + ", name=" + name + ")");
m_filters.push({ id: id, name: name });
- redrawNavi();
- resetPage();
triggerSearch();
return false;
}
{
debug("limitQuery(field=" + field + ", value=" + value + ")");
m_filters.push({ field: field, value: value });
- redrawNavi();
- resetPage();
triggerSearch();
return false;
}
}
m_filters = newFilters;
- redrawNavi();
- resetPage();
triggerSearch();
return false;
}
}
m_filters = newFilters;
- redrawNavi();
- resetPage();
triggerSearch();
return false;
}