History

Fix entry page error

Thibaut committed 11 years ago

Commit 9cd5f201 parent d9aeaee2 files · +4 −0Browse files

Showing the changes to assets/javascripts (1 of 2 files). Show all

Unified · Split

assets/javascripts/views/content/entry_page.coffee+2−0
@@ -1,5 +1,6 @@
11 class app.views.EntryPage extends app.View
22 @className: '_page'
3+ @errorClass: '_page-error'
34
45 @events:
56 click: 'onClick'
@@ -97,6 +98,7 @@ class app.views.EntryPage extends app.View · 91 unmodified lines
9798 onError: =>
9899 @xhr = null
99100 @render @tmpl('pageLoadError')
101+ @addClass @constructor.errorClass
100102 app.appCache?.update()
101103 return
102104

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t