Loading...
 
Skip to main content

Trackerlist plugin output sometimes hidden when Table Sorter isn't activated (branch 14)

Status
Closed
Subject
Trackerlist plugin output sometimes hidden when Table Sorter isn't activated (branch 14)
Version
14.x
Category
  • Usability
Feature
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Gary Cunningham-Lee
Lastmod by
lindon
Rating
(0)
Description

There's a problem with the trackerlist plugin output sometimes not displaying due to an inline "visibility:hidden" rule, when Table Sorter isn't being used.

This is the syntax for the plugin:

Copy to clipboard
{trackerlist trackerId="5" fields="26:27:30" showlinks="y" shownbitems="y" status="opc" max="-1" sortable="y" tsfilters="y"}


With Table Sorter activated, no problem, when

sortable="y" tsfilters="y", ok (and table sorter gadgets showing)
sortable="n" tsfilters="n", ok (and no sorter gadgets)
sortable="y" tsfilters="n", ok (legacy sorter gadgets showing)
sortable="n" tsfilters="y", ok (and no sorter gadgets)

But with Table Sorter deactivated, when

sortable="n" tsfilters="n", ok (and no sorter gadgets)
sortable="n" tsfilters="y", ok (and no sorter gadgets)
sortable="y" tsfilters="n", no display
sortable="y" tsfilters="y", no display

So it seems with Table Sorter off and sortable set to y in the trackerplugin, there's a problem. This inline rule comes from line 64 of wikiplugin_trackerlist.tpl.

Copy to clipboard
<div id="wptrackerlist{$listTrackerId}-{$iTRACKERLIST}-div" {if $tsOn}style="visibility:hidden"{/if} class="ts-wrapperdiv">


If I comment out the inline CSS and its if statement, the trackerlist table appears normally in all the cases that I tested. Seems like there must be an error here unless there is some case where the trackerlist table would need to be hidden, which seems unlikely.

Solution
Fixed with http://sourceforge.net/p/tikiwiki/code/56559Question in 14.x and auto-merged to trunk
Importance
8
Easy to solve?
7
Priority
56
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5736
Created
Thursday 22 October, 2015 07:54:19 UTC
by Gary Cunningham-Lee
LastModif
Monday 02 November, 2015 04:17:26 UTC


Show PHP error messages