X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-team.js;h=54a73a61d39d11c50123da32d0c6c9c666101672;hb=74b131317ff47eabd057885c441c29d873dfd431;hp=872f957ec6df80ff4739c5753cb7a5c1968c7204;hpb=cfab3e447ad133e7a156b3036ed313245420be6e;p=mkws-moved-to-github.git diff --git a/src/mkws-team.js b/src/mkws-team.js index 872f957..54a73a6 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -145,7 +145,7 @@ function team($, teamName) { } - that.limitTarget = function (id, name) + that.limitTarget = function(id, name) { log("limitTarget(id=" + id + ", name=" + name + ")"); m_filters.push({ id: id, name: name }); @@ -154,7 +154,7 @@ function team($, teamName) { } - that.limitQuery = function (field, value) + that.limitQuery = function(field, value) { log("limitQuery(field=" + field + ", value=" + value + ")"); m_filters.push({ field: field, value: value }); @@ -163,7 +163,7 @@ function team($, teamName) { } - that.delimitTarget = function (id) + that.delimitTarget = function(id) { log("delimitTarget(id=" + id + ")"); var newFilters = []; @@ -183,7 +183,7 @@ function team($, teamName) { } - that.delimitQuery = function (field, value) + that.delimitQuery = function(field, value) { log("delimitQuery(field=" + field + ", value=" + value + ")"); var newFilters = []; @@ -205,14 +205,14 @@ function team($, teamName) { } - 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++; @@ -220,7 +220,7 @@ function team($, teamName) { } - that.pagerPrev = function () { + that.pagerPrev = function() { if (m_paz.showPrev() != false) m_currentPage--; } @@ -255,7 +255,7 @@ function team($, teamName) { } - function triggerSearch (query, sortOrder, targets) + function triggerSearch(query, sortOrder, targets) { resetPage(); queue("navi").publish(); @@ -340,7 +340,7 @@ function team($, teamName) { // detailed record drawing - that.showDetails = function (recId) { + that.showDetails = function(recId) { var oldRecordId = m_currentRecordId; m_currentRecordId = recId;