Bug #5380
openrepo commits pageintion error
0%
Description
The "repo commits" page damages when I click a 'next page' button
Files
Updated by Marcin Kuzminski [CTO] about 7 years ago
What kind of browser are you using ?
Also, does it display eny errors in the browser console ?
Best
Updated by Vasiliy S about 7 years ago
What kind of browser are you using ?
Firefox, Chromium, GnomeWeb(Epithany) on LinuxMint
Google Chrome on Android
Also, does it display eny errors in the browser console ?
ReferenceError: $ is not defined
Error points to script block within page:
<script type="text/javascript">
$(document).pjax('#shortlog_data .pager_link','#shortlog_data', {timeout: 2000, scrollTo: false });
$(document).on('pjax:success', function(){ timeagoActivate(); });
</script>
Updated by Marcin Kuzminski [CTO] about 7 years ago
Could it be that something blocks your load of Jquery ? it should be loaded BEFORE this block is even reached.
Updated by Vasiliy S about 7 years ago
Could it be that something blocks your load of Jquery ? it should be loaded BEFORE this block is even reached.
I am reproduce error with such steps:
- open repo homepage
https://my.host/repo
- refresh page with Ctrl+F5
- click '>' at page's bottom -- now it is all ok (ajax request and show page 2)
- click '>' at page's bottom -- it results to ajax request and after it the page reloads with url
https://my.host/repo/summary-commits?page=3&size=10
Updated by Redmine Integration about 7 years ago
- Status changed from New to Resolved
Commit cb1c9bb44efd by Marcin Lulek mlulek@rhodecode.com on default branch changed this issue. https://internal-code.rhodecode.com/rhodecode-enterprise-ce/changeset/cb1c9bb44efdacc135f5d7a17f55aea2e35a8fbf