Koha/koha-tmpl/intranet-tmpl/prog/en
Martin Renvoize 258d475d5f Bug 26938: Prevent flash of unstyled sales table
On the registers page the table has come complex data structures
embedded to allow for all the functionality we bring into the datatable.

We should hide the table on page load and only display it at DataTables
init time once the weird content has been beautified by DataTables.

Test plan
1/ Enable 'UseCashRegisters' and 'EnablePointOfSale'
2/ Add a cash register and make some transactions against it.
3/ Navigate to the 'Register details' page
4/ Note that some 'funky' JSON strings appear in the table briefly
before it is restyled when DataTables loads.
5/ Apply the patch
6/ Rebuild the CSS from the SCSS files
7/ Reload the page (hard reload to get the CSS changes)
8/ Note that the table now only appears once the nice formatting that
DataTables adds is applied.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-11-18 09:34:48 +01:00
..
data
includes Bug 26988: (follow-up) Fix filter and encode api values and escape rendered values 2020-11-13 14:20:11 +01:00
modules Bug 26938: Prevent flash of unstyled sales table 2020-11-18 09:34:48 +01:00
xslt Bug 15141: Add MARC21 770/772 Supplement (parent) to OPAC and staff detail pages 2020-11-04 12:59:34 +01:00
columns.def