//Porting more components to bootstrap

This commit is contained in:
Kevin Granger
2013-06-21 17:47:05 +02:00
parent 40f03d0ba1
commit aa8d6d5872
21 changed files with 1491 additions and 271 deletions
+7 -4
View File
@@ -1001,22 +1001,25 @@ function quickSelect(elt)
function adminNav(navId)
{
$(".submenu-collapse").remove();
if($(".expanded").length ){
$(".expanded > ul").slideUp(
"fast",
function(){
var $target = $(".expanded").not(".active");
$target.removeClass("expanded");
$(navId).not(".active").not($target).addClass("expanded");
$(navId).not($target).addClass("expanded");
$(navId).not($target).children("ul:first").hide().slideDown();
}
);
}
else{
$(navId).not(".active").addClass("expanded");
$(navId).not(".active").children("ul:first").hide().slideDown();
}
}
$( document ).ready(function() {
$('.label-tooltip').tooltip({
})
});
$('.label-tooltip').tooltip();
});