IE8 does not support the map() function, and we have to use the jquery $.map(), MKWS-77
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 13 Mar 2014 11:03:47 +0000 (11:03 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 13 Mar 2014 11:03:47 +0000 (11:03 +0000)
tools/htdocs/mkws.js

index e047215..6f57f6b 100644 (file)
@@ -1019,7 +1019,7 @@ function team($, teamName) {
     function findnode(selector, teamName) {
        teamName = teamName || m_teamName;
 
-       selector = selector.split(',').map(function(s) {
+       selector = $.map(selector.split(','), function(s, i) {
            return s + '.mkwsTeam_' + teamName;
        }).join(',');