diff --git a/includes/admin.menu.js b/includes/admin.menu.js
index 7738412..dc31894 100644
--- a/includes/admin.menu.js
+++ b/includes/admin.menu.js
@@ -16,7 +16,7 @@ Drupal.behaviors.adminToolbarMenu.attach = function(context) {
$('a:has(span.menu-description)', menu).hover(
function() {
$('')
- .attr('class', $(this).attr('class'))
+ .attr('class', $(this).prop('class'))
.addClass('menu-hover')
.addClass('overlay-exclude')
.append($('span.menu-description', this).clone())
diff --git a/includes/jquery.drilldown.js b/includes/jquery.drilldown.js
index cdac64d..86e63ee 100644
--- a/includes/jquery.drilldown.js
+++ b/includes/jquery.drilldown.js
@@ -80,16 +80,16 @@
if (breadcrumb.length > 0) {
var trail = $(settings.trail);
trail.empty();
- for (var key in breadcrumb) {
- if (breadcrumb[key]) {
- // We don't use the $().clone() method here because of an
- // IE & jQuery 1.2 bug.
- var clone = $('')
- .attr('href', $(breadcrumb[key]).attr('href'))
- .attr('class', $(breadcrumb[key]).attr('class'))
- .html($(breadcrumb[key]).html())
- .addClass('depth-'+key)
- .appendTo(trail);
+
+ var numberOfCrumbs=breadcrumb.length;
+ for (var key=0; key 0) {
+ if (settings.activePath && $('ul.menu a[href="'+settings.activePath+'"]', menu).size() > 0) {
this.activePath = settings.activePath;
- activeLink = $('ul.menu a[href='+settings.activePath+']', menu).addClass('active');
+ activeLink = $('ul.menu a[href="'+settings.activePath+'"]', menu).addClass('active');
}
if (!activeLink) {
activeLink = $('ul.menu a.active', menu).size() ? $('ul.menu a.active', menu) : $('ul.menu > li > a', menu);
@@ -145,7 +145,7 @@
}
else {
var url = $(this).children('a').attr('href');
- var activeLink = $('ul.menu a[href='+url+']', menu);
+ var activeLink = $('ul.menu a[href="'+url+'"]', menu);
menu.drilldown('setActive', {
activeLink: activeLink,
trail: settings.trail,