Skip to content

Commit

Permalink
When there is no data for a website, as soon as a visit was detected …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
mattab committed Feb 19, 2017
1 parent e766324 commit 7946bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/SitesManager/templates/siteWithoutData.twig
Expand Up @@ -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',
Expand Down

0 comments on commit 7946bd2

Please sign in to comment.