From 732b90ad8b1814e8a81ba0db0c2f4741166b6ebf Mon Sep 17 00:00:00 2001 From: Erik Perrone Date: Fri, 23 Mar 2018 10:35:40 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/nlphub@165402 82a268e6-3cf1-43bd-a215-b396298e98cf --- src/main/webapp/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/js/main.js b/src/main/webapp/js/main.js index e515de8..1ec4383 100644 --- a/src/main/webapp/js/main.js +++ b/src/main/webapp/js/main.js @@ -878,10 +878,10 @@ filterAlgorithmsByAnnotation = function() { var named = $("#algorithm-params-div input[type=checkbox]")[i].getAttribute("named"); var annList = algIndexedArray[named].annotations; if(annList.indexOf(annotation) >= 0) { - $($("#algorithm-params-div input[type=checkbox]")[i]).attr("checked", "") + $($("#algorithm-params-div input[type=checkbox]")[i]).prop("checked", true); } else { - $($("#algorithm-params-div input[type=checkbox]")[i]).removeAttr("checked") + $($("#algorithm-params-div input[type=checkbox]")[i]).prop("checked", false); } } }