Permalink
Browse files

add groupid in show list grouping

  • Loading branch information...
1 parent c8440e0 commit 1c61ee342892dbe3b1839e2385e8b764940327ba @swznd swznd committed Jan 3, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 js/events.js
View
@@ -39,13 +39,12 @@ this.events = (function() {
})
}
- function show_list_grouping(data) {
- removeComment($('#event-list'));
-
+ function show_list_grouping(data) {
$.each(data, function() {
var group = groupingdate(this.start);
+ var groupid = group.toLowerCase().replace(' ','');
- if($('#'+group).length == 0 ) {
+ if($('#'+group).length == 0) {
$('<header />', {text: group}).appendTo('#event-list-content');
$('<ul />', {id: group}).appendTo('#event-list-content');
}

0 comments on commit 1c61ee3

Please sign in to comment.