When the PagelistWidget dialogue window is opened for the second or third time, there is no loading animation for the first image.
Reproduction steps
- Open an Index: page ( ex: Index:War and Peace.djvu)
- Navigate to edit mode
- Click on "Preview pagelist"
- Click on any of the generated page numbered buttons to open a popup
- Inside the popup navigate to a different page
Documentation
- Tutorial on setting up and working with Gerrit (Gerrit is Wikimedia's code review platform)
- File that needs to be modified: PagelistInputWidget.ImagePanel.js
- OOUI (the framework used to build the PagelistWidget)
Criteria
- Loading animation should be shown even for the first image everytime.