Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add groupid in show list grouping

  • Loading branch information...
commit 1c61ee342892dbe3b1839e2385e8b764940327ba 1 parent c8440e0
@swznd swznd authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 js/events.js
View
7 js/events.js
@@ -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');
}
Please sign in to comment.
Something went wrong with that request. Please try again.