Regression in menu code: double click show orange warning message #2180

Closed
mattab opened this Issue Mar 13, 2011 · 2 comments

2 participants

@mattab
Piwik Open Source Analytics member

If you click on dashboard, in the menu, more than once, the orage warning message says "Oops problem during the request, please try again." and fades out 2s later, after the content loaded, (causing the page to jump). I'm pretty sure this is a regression.

Solution: 2 clicks on the same menu /submenu should not trigger more than 1 ajax requests...

@sgiehl
Piwik Open Source Analytics member

The problem is, that the first request is aborted, resulting in the error message to be displayed. Maybe hiding the error message on starting the new request could fix the issue.

Adding a

piwikHelper.hideAjaxError('loadingError');

at the beginning of broadcast.loadAjaxContent should help.

@mattab
Piwik Open Source Analytics member

(In [4148]) Fixes #2180 Kuddos SteveG!

The message still shows when we click on top right "Settings" while dashboard widgets still loading... but I'm not sure how we could prevent this one (or that it matters so much)

@mattab mattab added this to the Piwik 1.3 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment