web-cat / pythy

Pythy – the Cloud-Based IDE for Novice Python Programmers
18 stars 3 forks source link

Ctrl-click doesn't work on some tabs/links #52

Open s-edwards opened 11 years ago

s-edwards commented 11 years ago

If you Ctrl-click (as in, "open link in a new tab" on the code/description/grades links for an assignment, the desired page does load in a new tab ... but the original page produces an error. From an admin account, the error is:

Exception

undefined method `full_label' for nil:NilClass

Backtrace

/app/views/home/course_staff.html.haml:15:in _app_views_home_course_staff_html_haml__3244369056582182632_46397100' /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:inrealtime' /app/controllers/home_controller.rb:60:in block (2 levels) in course_staff' /app/controllers/home_controller.rb:59:incourse_staff' /app/controllers/home_controller.rb:28:in `course'

:10:in`synchronize'