diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-02-19 10:13:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-19 10:13:54 +0300 |
commit | 7946bd2aa326c4c3ac22b820ac3a378a7f65d790 (patch) | |
tree | 2bfc1b4d325cfcdeeca863b83258dbe5aa71f57a /plugins/SitesManager/templates | |
parent | e766324828ab442b18ff1f77c17b00fb1f1cb400 (diff) |
When there is no data for a website, as soon as a visit was detected reload the report for Today (#11275)
* Cross Domain: forward pk_vid parameter when the clicked element is not directly a link but is within the link <a> element itself
* reload page as soon as a visit was detected should reload Today's report
* Use broadcast.propagateNewPage as suggested in review
Diffstat (limited to 'plugins/SitesManager/templates')
-rw-r--r-- | plugins/SitesManager/templates/siteWithoutData.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SitesManager/templates/siteWithoutData.twig b/plugins/SitesManager/templates/siteWithoutData.twig index b1a659f31a..d8596cf0fd 100644 --- a/plugins/SitesManager/templates/siteWithoutData.twig +++ b/plugins/SitesManager/templates/siteWithoutData.twig @@ -14,7 +14,7 @@ interval: 1000, onUpdate: function () { // reload page as soon as a visit was detected - document.location.reload(); + broadcast.propagateNewPage('date=today'); }, dataUrlParams: { module: 'Live', |