Permalink
Browse files

Show timetable by click on the result row in list of groups or lecturers

  • Loading branch information...
1 parent 353d6e4 commit 68c357e7853e0c1ac237ad971b25ae39e6c36a57 @Envek committed May 4, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 app/assets/javascripts/timetable/timetable.js
@@ -9,6 +9,10 @@ jQuery(document).ready(function($){
timer = setTimeout("window.location.reload(true)", 45000);
});
+ $('.list_box').on('click', '.group, .lecturer', function () {
+ location.href = $('a', this).attr("href");
+ });
+
// Handles keyboard click
$('.key').on('click', function () {
var key = $(this);

0 comments on commit 68c357e

Please sign in to comment.