Fix race condtion in my_onshow(), MKWS-105
authorWolfram Schneider <wosch@indexdata.dk>
Mon, 3 Feb 2014 12:38:03 +0000 (12:38 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Mon, 3 Feb 2014 12:38:03 +0000 (12:38 +0000)
commite1e6241171d921bdf2dddb603ef40422fe1b5519
tree517640dfee24dd3a6a50e938e121a4abe9d0209c
parent881664d68f8e903ebb3e99daefc7c4a2f0681283
Fix race condtion in my_onshow(), MKWS-105

call renderDetails(m_curDetRecData) only if the global variable
m_curDetRecData is set.

m_curDetRecData will be set in my_onrecord(), and apparently there
is a race condtion that m_curDetRecData is not set yet, or will
be reset in showDetails() later. This should fix MKWS-105
tools/htdocs/mkws.js