N°1779 Fix none draggable columns in exports (Excel, CSV, ...)

- Fix AjaxWebPage load of linked stylesheets
- Remove unnecessary imports of JS/CSS files
This commit is contained in:
Molkobain
2018-11-21 15:54:17 +01:00
parent 0a3f076335
commit c300e46480
2 changed files with 10 additions and 6 deletions

View File

@@ -269,6 +269,16 @@ EOF
echo $this->m_sReadyScript; // Ready Scripts are output as simple scripts
echo "\n</script>\n";
}
if(count($this->a_linked_stylesheets) > 0)
{
echo "<script type=\"text/javascript\">";
foreach($this->a_linked_stylesheets as $aStylesheet)
{
$sStylesheetUrl = $aStylesheet['link'];
echo "if (!$('link[href=\"{$sStylesheetUrl}\"]').length) $('<link href=\"{$sStylesheetUrl}\" rel=\"stylesheet\">').appendTo('head');\n";
}
echo "\n</script>\n";
}
if (trim($s_captured_output) != "")
{