[+] BO: Form components

This commit is contained in:
Kevin Granger
2013-06-18 21:03:43 +02:00
parent 3bdf86e634
commit 40f03d0ba1
52 changed files with 730 additions and 259 deletions
+19 -5
View File
@@ -999,10 +999,24 @@ function quickSelect(elt)
location.href = eltVal;
}
function adminNav(navId)
{
$(".expanded").removeClass("expanded");
$(navId).addClass("expanded");
console.log($(navId));
}
if($(".expanded").length ){
$(".expanded > ul").slideUp(
"fast",
function(){
var $target = $(".expanded").not(".active");
$target.removeClass("expanded");
$(navId).not(".active").not($target).addClass("expanded");
}
);
}
else{
$(navId).not(".active").addClass("expanded");
}
}
$( document ).ready(function() {
$('.label-tooltip').tooltip({
})
});