Project

General

Profile

Actions

Bug #5380

open

repo commits pageintion error

Added by Vasiliy S over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
30.08.2017
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

The "repo commits" page damages when I click a 'next page' button


Files

Actions #1

Updated by Marcin Kuzminski [CTO] over 6 years ago

What kind of browser are you using ?

Also, does it display eny errors in the browser console ?

Best

Actions #2

Updated by Vasiliy S over 6 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>
Actions #3

Updated by Marcin Kuzminski [CTO] over 6 years ago

Could it be that something blocks your load of Jquery ? it should be loaded BEFORE this block is even reached.

Actions #4

Updated by Vasiliy S over 6 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:

  1. open repo homepage https://my.host/repo
  2. refresh page with Ctrl+F5
  3. click '>' at page's bottom -- now it is all ok (ajax request and show page 2)
  4. 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
Actions #5

Updated by Vasiliy S over 6 years ago

error reproduces at 4.9

Actions #6

Updated by Redmine Integration over 6 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF