Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
fix: Workaround for pjax bug at 'my issues' page
Browse files Browse the repository at this point in the history
Yobi's 'my issues' page has a pjax bug related with BFCache.
Commonly, there are two options to fix it.

- When a user make a page back, reload the page
- When a user make a page back, reload the page's javascripts

This commit is using the second option.

You can see more at https://developer.mozilla.org/en-US/docs/Using_Firefox_1.5_caching
  • Loading branch information
doortts committed Apr 28, 2015
1 parent 6339c73 commit f3d68d8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/views/issue/my_list.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@
</div>
<script type="text/javascript">
$(function(){
$yobi.loadModule("issue.List", {
"welSearchForm": $("#search"),
"elPagination" : $("#pagination")
});
$yobi.loadModule("issue.List");
});
</script>
}

0 comments on commit f3d68d8

Please sign in to comment.