Show all aspects selected by default

This commit is contained in:
Gonzalo Rodriguez 2011-09-28 22:35:33 -03:00
parent 5a5bc852e2
commit 389136eaf2

View file

@ -26,11 +26,15 @@
};
this.initializeSelectedAspects = function() {
if (location.href.search("a_ids..=") == -1) {
self.aspectLis.addClass("active");
} else {
self.aspectSelectors.each(function() {
guid = $(this).data('guid');
if (guid && location.href.search("a_ids..=" + guid + "(#|&|$)") != -1)
$(this).parent().addClass('active');
});
}
};
this.toggleAspect = function(evt) {