Fix markup for detail div. widgetifydetails
authorJason Skomorowski <jason@indexdata.com>
Tue, 26 Aug 2014 00:55:24 +0000 (20:55 -0400)
committerJason Skomorowski <jason@indexdata.com>
Tue, 26 Aug 2014 00:55:24 +0000 (20:55 -0400)
src/mkws-team.js

index d6af521..165d682 100644 (file)
@@ -352,7 +352,7 @@ function team($, teamName) {
     }
     var recordDiv = findnode('.' + recordElementId(recId));
     var html = '<div class=".mkwsDetails .mkwsTeam_' + m_teamName
-               + '></div>';
+               + '" data-mkws-recid="' + recId + '"></div>';
     $(recordDiv).append(html);
     console.log(recordDiv);
     console.log($(recordDiv).html());