Merge pull request #643 from differentreality/events_json
fix scrolling of left column in schedule, show only @conference.events
This commit is contained in:
commit
6eef0c1ca7
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue