@mattab opened this Issue on February 23rd 2012 Member

From forum report

How to reproduce?

Default dashboard
I remove the Widget "Visitors in Real Time" and "Visitor countries".
Next I go to Visitors -> Custom Variables.
Clicking the "Plus-Button" for more Data in the Table.
Click on Dashboard for the "Home-Site" and all widgets/layouts are reseted to the default.
This behavior do not depend on the language I selected (tested in German and English).

Tested on Firefox 10.0.2 and Chrome 17.0.963.56. 
@mattab commented on February 24th 2012 Member

(In [5902]) Fixes #2972

When a click on the menu, we delete the dashboard object. This ensures that the function notifyDashboardViewDataTableChange is not called when we are outside of the dashboard. There is probably a better way to do it, but a one line hack can't be that bad...

Here is the stacktrace that triggered the saveLayout call:

saveLayout()Dashbo...0aefe4d (line 408)
setDataTableViewChanged(uniqueId=undefined, newViewDataTable="tableAllColumns")Dashbo...0aefe4d (line 391)
notifyDashboardViewDataTableChange(domWidget=[a.tableIcon], newViewDataTable="tableAllColumns")datata...0aefe4d (line 742)
(?)()datata...0aefe4d (line 505)
add(c=Object { originalEvent=Event click, type="click", timeStamp=12938312, more...})jquery...0aefe4d (line 3)
add(a=click clientX=66, clientY=313)jquery...0aefe4d (line 3)

This Issue was closed on February 24th 2012
Powered by GitHub Issue Mirror