"usesessions" : mkws_config.use_service_proxy ? false : true,
"showResponseType": '', // or "json" (for debugging?)
"onrecord": my_onrecord });
- that.m_paz = m_paz; // For access from non-member functions like mkws.showDetails
if (!isNaN(parseInt(mkws_config.perpage_default))) {
m_recPerPage = parseInt(mkws_config.perpage_default);
// detailed record drawing
- mkws.showDetails = function (prefixRecId, tname) {
+ that.showDetails = function (prefixRecId) {
var recId = prefixRecId.replace('mkwsRec_', '');
var oldRecId = m_curDetRecId;
m_curDetRecId = recId;
return;
}
// request the record
- var team = mkws.teams[tname];
- if (!team) alert("no team '" + tname + "'");
- team.m_paz.record(recId);
+ m_paz.record(recId);
}
}
+ mkws.showDetails = function (prefixRecId, tname) {
+ mkws.teams[tname].showDetails(prefixRecId);
+ }
+
+
function default_mkws_config() {
/* default mkws config */
var config_default = {