浏览代码

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

Thibaut 11 年之前
父节点
当前提交
b660a09856
共有 1 个文件被更改,包括 1 次插入0 次删除
  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: =>
     @xhr = null
     @render @tmpl('pageLoadError')
+    app.appCache?.update()
     return
 
   cache: ->