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:
authordiosmosis <benaka@piwik.pro>2015-05-13 10:08:03 +0300
committerdiosmosis <benaka@piwik.pro>2015-05-13 10:08:03 +0300
commit87686a59a13d1a09fc1797a4943680df45495fe5 (patch)
treeed023a44f7f21162ac117da3301a296f4f53e2ce /plugins/Dashboard/templates/_header.twig
parentf2b5cb3c3ea00f6ef1fc441033e12e07d8fe24fa (diff)
Make sure angular app is initialized in Dashboard standalone view.
Diffstat (limited to 'plugins/Dashboard/templates/_header.twig')
-rw-r--r--plugins/Dashboard/templates/_header.twig4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dashboard/templates/_header.twig b/plugins/Dashboard/templates/_header.twig
index 050564e733..5af8dcdcba 100644
--- a/plugins/Dashboard/templates/_header.twig
+++ b/plugins/Dashboard/templates/_header.twig
@@ -1,6 +1,6 @@
{# This header is for loading the dashboard in stand alone mode #}
<!DOCTYPE html>
-<html>
+<html id="ng-app" ng-app="piwikApp">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="IE=EDGE,chrome=1" >
@@ -14,4 +14,4 @@
{% include "_jsGlobalVariables.twig" %}
{% include "_jsCssIncludes.twig" %}
</head>
-<body id="standalone">
+<body id="standalone" ng-app="app">