}
- that.limitTarget = function (id, name)
+ that.limitTarget = function(id, name)
{
log("limitTarget(id=" + id + ", name=" + name + ")");
m_filters.push({ id: id, name: name });
}
- that.limitQuery = function (field, value)
+ that.limitQuery = function(field, value)
{
log("limitQuery(field=" + field + ", value=" + value + ")");
m_filters.push({ field: field, value: value });
}
- that.delimitTarget = function (id)
+ that.delimitTarget = function(id)
{
log("delimitTarget(id=" + id + ")");
var newFilters = [];
}
- that.delimitQuery = function (field, value)
+ that.delimitQuery = function(field, value)
{
log("delimitQuery(field=" + field + ", value=" + value + ")");
var newFilters = [];
}
- that.showPage = function (pageNum)
+ that.showPage = function(pageNum)
{
m_currentPage = pageNum;
m_paz.showPage(m_currentPage - 1);
}
- that.pagerNext = function () {
+ that.pagerNext = function() {
if (m_totalRecordCount - m_perpage*m_currentPage > 0) {
m_paz.showNext();
m_currentPage++;
}
- that.pagerPrev = function () {
+ that.pagerPrev = function() {
if (m_paz.showPrev() != false)
m_currentPage--;
}
}
- function triggerSearch (query, sortOrder, targets)
+ function triggerSearch(query, sortOrder, targets)
{
resetPage();
queue("navi").publish();
// detailed record drawing
- that.showDetails = function (recId) {
+ that.showDetails = function(recId) {
var oldRecordId = m_currentRecordId;
m_currentRecordId = recId;