openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit fb9d2359ed9aa384a39d209496460e6cf8fe91e5
parent 9ba9fecfeb39b8c5755a2fa540c254d7e9fb4e03
Author: Jan Dankert <devnull@localhost>
Date:   Thu,  5 Jul 2018 23:44:16 +0200

Das openrat.js als letztes Javascript laden, damit die Events auch in allen vorigen Dateien gefeuert werden.

Diffstat:
modules/cms-ui/action/IndexAction.class.php | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/modules/cms-ui/action/IndexAction.class.php b/modules/cms-ui/action/IndexAction.class.php @@ -348,9 +348,6 @@ class IndexAction extends Action // Inlining of SVG $js[] = OR_THEMES_DIR . 'default/script/svg-injector'; - // OpenRat internal JS - $js[] = OR_THEMES_DIR . 'default/script/openrat'; - // Codemirror Source Editor $js[] = OR_HTML_MODULES_DIR . 'editor/codemirror/lib/codemirror'; @@ -489,8 +486,12 @@ class IndexAction extends Action if (is_file($componentJsFile . '.js')) $js[] = $componentJsFile; } - - $outDevJsFiles = array(); + + // OpenRat internal JS - als letztes, damit die vorigen bereits geladen sind. + $js[] = OR_THEMES_DIR . 'default/script/openrat'; + + + $outDevJsFiles = array(); $outProJsFiles = array(); $lastModTime = 0;