Browse Source

Update app cache on load error in case the index has been updated

Thibaut 11 years ago
parent
commit
b660a09856
1 changed files with 1 additions and 0 deletions
  1. 1 0
      assets/javascripts/views/content/entry_page.coffee

+ 1 - 0
assets/javascripts/views/content/entry_page.coffee

@@ -84,6 +84,7 @@ class app.views.EntryPage extends app.View
   onError: =>
   onError: =>
     @xhr = null
     @xhr = null
     @render @tmpl('pageLoadError')
     @render @tmpl('pageLoadError')
+    app.appCache?.update()
     return
     return
 
 
   cache: ->
   cache: ->