icon ui selection

This commit is contained in:
Claudio Barril 2014-04-12 19:04:28 -03:00
parent d66666010d
commit 5d18283285

View File

@ -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("<i class='" + myClass +"'></i>");
});
});
/*--------------------------------------------- Label actions --------------------------------------------------**/