Project

General

Profile

Bug #5380

repo commits pageintion error

Added by Vasiliy S over 2 years ago. Updated about 2 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

History

#1 Updated by Marcin Kuzminski [staff] over 2 years ago

What kind of browser are you using ?

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

Best

#2 Updated by Vasiliy S over 2 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>

#3 Updated by Marcin Kuzminski [staff] over 2 years ago

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

#4 Updated by Vasiliy S over 2 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

#5 Updated by Vasiliy S about 2 years ago

error reproduces at 4.9

#6 Updated by Redmine Integration about 2 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF