- Created Javascript DialogLib in public/js for showing JQuery UI succes, error and info messages

- Used created DialogLib in infocenterDetails
This commit is contained in:
alex
2019-02-01 16:59:56 +01:00
parent d98c7ec9b2
commit 1b377474b6
5 changed files with 121 additions and 10 deletions
@@ -7,6 +7,7 @@
'bootstrap' => true,
'fontawesome' => true,
'jqueryui' => true,
'dialoglib' => true,
'ajaxlib' => true,
'tablesorter' => true,
'tinymce' => true,
@@ -16,6 +16,7 @@
// By default set the parameters to false
$addons = isset($addons) ? $addons : false;
$dialoglib = isset($dialoglib) ? $dialoglib : false;
$ajaxlib = isset($ajaxlib) ? $ajaxlib : false;
$bootstrap = isset($bootstrap) ? $bootstrap : false;
$filterwidget = isset($filterwidget) ? $filterwidget : false;
@@ -73,6 +74,9 @@
// --------------------------------------------------------------------------------------------------------
// From public folder
// DialogLib CSS
if ($dialoglib === true) generateCSSsInclude('public/css/DialogLib.css');
// AjaxLib CSS
if ($ajaxlib === true) generateCSSsInclude('public/css/AjaxLib.css');
@@ -139,6 +143,9 @@
// --------------------------------------------------------------------------------------------------------
// From public folder
// DialogLib JS
if ($dialoglib === true) generateJSsInclude('public/js/DialogLib.js');
// AjaxLib JS
// NOTE: must be called before including others JS libraries that use it
if ($ajaxlib === true) generateJSsInclude('public/js/AjaxLib.js');