Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javascript error on Goals page in IE 7 due to unexpected comma #2845

Closed
anonymous-matomo-user opened this issue Dec 31, 2011 · 2 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

When one goes to the Goals page in IE 7 they get the "Error on Page" indicator in the status bar at the bottom and none of the links for viewing by type work. For example, if you want to view goals by custom varaibles the link doesn't work.

I looked at the page in FireFox and it works there so this seems to be an issue that is specific to IE. Running Piwik version 1.6.

I finally managed to track down the error by running the various javascript code pieces through jslint.

Inside of table_by_dimension.tpl (in \piwik\plugins\Goals\templates) there is a javascript block that contains the following:

var widgetParameters = {
'module': module,
'action': action,
};

Take the hanging comma off the end of that (right after action) and now all is happy.

@robocoder
Copy link
Contributor

(In [5643]) fixes #2845

@robocoder
Copy link
Contributor

Thanks!

@anonymous-matomo-user anonymous-matomo-user added this to the 1.7 Piwik 1.7 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
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants