I am using a DOM Table to manage the testimonials on my client's website.
I am having a problem with the CSS for the table not loading unless I refresh the CMS while on that page.
When I click on the Testimonial page and then the Testimonials tab I see this:
I need to press the refresh button in order for it to display correctly:
Looking at the source code of the page before and after the refresh, I notice that the following lines appear after the refresh, but not before.
<link rel="stylesheet" type="text/css" href="http://example.com/dataobject_manager/css/dataobject_manager.css?m=1285261264" />
<link rel="stylesheet" type="text/css" href="http://example.com/dataobject_manager/css/facebox.css?m=1285261265" />
<link rel="stylesheet" type="text/css" href="http://example.com/sapphire/css/TableListField.css?m=1286911092" />
<link rel="stylesheet" type="text/css" href="http://example.com/sapphire/css/ComplexTableField.css?m=1286911088" />
So for some reason, unless the CMS is loaded at the same time as the page with the DOM table on it, the CSS for the table is not inserted.
I'm using SilverStripe 2.4.2.
Any ideas why this is happening?
Thanks
James