Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Goals/Goals.php')
-rw-r--r--plugins/Goals/Goals.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Goals/Goals.php b/plugins/Goals/Goals.php
index ae9ea61cda..b478be5b16 100644
--- a/plugins/Goals/Goals.php
+++ b/plugins/Goals/Goals.php
@@ -259,7 +259,8 @@ class Goals extends \Piwik\Plugin
public function getJsFiles(&$jsFiles)
{
- $jsFiles[] = "plugins/Goals/javascripts/goalsForm.js";
+ $jsFiles[] = "plugins/Goals/angularjs/manage-goals/manage-goals.controller.js";
+ $jsFiles[] = "plugins/Goals/angularjs/manage-goals/manage-goals.directive.js";
}
public function getStylesheetFiles(&$stylesheets)
@@ -276,6 +277,7 @@ class Goals extends \Piwik\Plugin
public function getClientSideTranslationKeys(&$translationKeys)
{
$translationKeys[] = 'Goals_AddGoal';
+ $translationKeys[] = 'Goals_AddNewGoal';
$translationKeys[] = 'Goals_UpdateGoal';
$translationKeys[] = 'Goals_DeleteGoalConfirm';
$translationKeys[] = 'Goals_UpdateGoal';