From a03748fbb2f6fdfe447f341cc161c99cb006ea32 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 23 Mar 2016 08:20:38 +0000 Subject: [PATCH] update Gruntfile.js to create an app.min.js for projectmanager --- Gruntfile.js | 11 +++++++++-- phpgwapi/inc/class.egw_framework.inc.php | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index ceafab4e10..2ed3893fda 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -159,8 +159,6 @@ module.exports = function (grunt) { "api\/js\/etemplate\/et2_dataview.js", "api\/js\/etemplate\/et2_extension_nextmatch.js", "api\/js\/etemplate\/et2_widget_favorites.js", - "phpgwapi\/js\/dhtmlxGantt\/codebase\/dhtmlxgantt.js", - "api\/js\/etemplate\/et2_widget_gantt.js", "api\/js\/etemplate\/et2_widget_html.js", "phpgwapi\/js\/ckeditor\/adapters\/jquery.js", "api\/js\/etemplate\/et2_widget_htmlarea.js", @@ -250,6 +248,15 @@ module.exports = function (grunt) { "pixelegg\/js\/fw_pixelegg.js" ] } + }, + projectmanager: { + files: { + "projectmanager\/js\/app.min.js": [ + "projectmanager\/js\/dhtmlxGantt\/codebase\/dhtmlxgantt.js", + "projectmanager\/js\/et2_widget_gantt.js", + "projectmanager\/js\/app.js" + ] + } } } }); diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index 0a25b09663..dcd65bac5e 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -2162,6 +2162,7 @@ abstract class egw_framework 'pixelegg' => '/pixelegg/js/fw_pixelegg.js', 'calendar' => '/calendar/js/app.js', 'mail' => '/mail/js/app.js', + 'projectmanager' => '/projectmanager/js/app.js', ) as $bundle => $file) { if (@file_exists(EGW_SERVER_ROOT.$file))