Bug #15475

Displaying of old media appearances is broken in press page

Added by geb 2018-03-29 15:18:40 . Updated 2018-04-03 11:16:50 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2018-03-29
Due date:
% Done:

100%

Feature Branch:
Type of work:
Website
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

The displaying of “Older media appearances” blocks seems broken in https://tails.boum.org/press/index.en.html. When somebody click on one of the year, nothing is displayed

A quick debugging let me think that,

* when the page is loaded inittoggle() in https://tails.boum.org/ikiwiki/toggle.js is called

* as their is a 2017 but no

the loop in inittoggle() receive a null in the first getElementById (can be seen in the webconsole), thus is interrupted, so the onclick=f() is not added to the links.

* Adding an empty


Subtasks


Related issues

Related to Tails - Bug #17622: Displaying former media appearances is broken on https://tails.boum.org/press/ Resolved
Blocks Tails - Feature #13245: Core work 2018Q1: Foundations Team Resolved 2017-06-29

History

#1 Updated by emmapeel 2018-03-29 19:33:38

  • Status changed from New to Confirmed
  • QA Check set to Dev Needed
  • Type of work changed from Website to Code

#2 Updated by intrigeri 2018-03-30 08:35:47

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri
  • Target version set to Tails_3.6.2
  • Estimated time deleted (1 h)
  • Type of work changed from Code to Website

#3 Updated by intrigeri 2018-03-30 08:36:38

#4 Updated by intrigeri 2018-03-30 08:47:59

  • Assignee changed from intrigeri to sajolida
  • % Done changed from 30 to 50
  • QA Check changed from Dev Needed to Ready for QA

Fixed in the commit that references this ticket.

#5 Updated by sajolida 2018-04-02 17:45:17

  • Status changed from In Progress to Resolved
  • Assignee deleted (sajolida)
  • QA Check deleted (Ready for QA)

Yeap. Thanks for cleaning up my shit!

#6 Updated by geb 2018-04-03 11:16:50

  • % Done changed from 50 to 100

#7 Updated by geb 2020-04-16 17:41:23

  • related to Bug #17622: Displaying former media appearances is broken on https://tails.boum.org/press/ added