Merge pull request #643 from differentreality/events_json

fix scrolling of left column in schedule, show only @conference.events
This commit is contained in:
Stella Rouzi 2015-04-20 18:26:25 +03:00
commit 6eef0c1ca7
2 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ module Admin
respond_to do |format| respond_to do |format|
format.html format.html
# Explicity call #to_json to avoid the use of EventSerializer # 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
end end

View file

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