fix scrolling of left column in schedule, show only @conference.events

This commit is contained in:
Stella Rouzi 2015-04-20 13:17:47 +03:00
parent 751bf4eb42
commit 3b8c91bbd9
2 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ module Admin
respond_to do |format|
format.html
# Explicity call #to_json to avoid the use of EventSerializer
format.json { render json: Event.where(state: :confirmed).to_json }
format.json { render json: Event.where(state: :confirmed, conference: @conference).to_json }
end
end

View file

@ -89,8 +89,8 @@ li ul li a:hover {
width:200px;
bottom:50px;
position:absolute;
overflow-x: hidden;
overflow-y: hidden;
overflow-x: auto;
overflow-y: auto;
}
.tab-content {