From 725be7ca9b64922d7055495a02ce5678e4802d2c Mon Sep 17 00:00:00 2001 From: Claudio Barril Date: Sat, 12 Apr 2014 19:04:28 -0300 Subject: [PATCH] icon ui selection --- wise-webapp/src/main/webapp/js/mindmapList.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wise-webapp/src/main/webapp/js/mindmapList.js b/wise-webapp/src/main/webapp/js/mindmapList.js index 4404e1d7..2147a0f0 100644 --- a/wise-webapp/src/main/webapp/js/mindmapList.js +++ b/wise-webapp/src/main/webapp/js/mindmapList.js @@ -531,7 +531,15 @@ $(function () { $("#foldersContainer ul").css('overflow-x', 'hidden'); $("#foldersContainer ul").height(maxHeight); - }) + }); + + $(".bs-glyphicons-list li").on("click", function(){ + var defaultIcon = $("#defaultIcon"); + //remove current icon + defaultIcon.find("i").remove(); + var myClass = $(this).attr("class"); + defaultIcon.prepend(""); + }); }); /*--------------------------------------------- Label actions --------------------------------------------------**/