From: Wolfram Schneider Date: Fri, 24 Oct 2014 09:43:48 +0000 (+0000) Subject: .hasAttribute() does not work on IE8 as expected, MKWS-309 X-Git-Tag: 1.0.0~114^2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=1d39d2ad121b02568505d9c9e98bdae8e4a3a198;p=mkws-moved-to-github.git .hasAttribute() does not work on IE8 as expected, MKWS-309 introduced in ed9584cc29f7be0e35b94faf2e9800d9400598e6 --- diff --git a/src/mkws-core.js b/src/mkws-core.js index 0ae5a99..ff7e475 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -349,7 +349,7 @@ mkws.log("Using window.name '" + window.name + "'"); teamName = "AUTO"; // Autosearch widgets don't join team AUTO if there is already an // autosearch on the team or the team has otherwise gotten a query - if (node.hasAttribute("autosearch")) { + if (node.getAttribute("autosearch")) { if (mkws.autoHasAuto || mkws.teams["AUTO"] && mkws.teams["AUTO"].config["query"]) { log("AUTO team already has a query, using unique team");