icon ui selection

This commit is contained in:
Claudio Barril 2014-04-12 19:04:28 -03:00
parent e8567fccf0
commit 725be7ca9b

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 --------------------------------------------------**/