A customer wants to hide the Notifications and Charts sections from the dashboard, in order to view only the Surveillance View, the Node Status and the Alarms.
Initially, I was thinking in just comment the code on dashboard.jsp but if I do that, JavaScript throws an exception:
uncaught exception: java.lang.IllegalArgumentException: element with id 'notifications' not found!
If I put the html tag for Notifications back again, the exception is gone.
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:
Alejandro Galue November 12, 2012 at 1:36 PM
Fixed on revision 822cd190c9764439874dc74ec5229e794c8ff885 for 1.10.
Alejandro Galue November 12, 2012 at 1:23 PM
Here are the steeps to reproduce the problem:
1) Edit dashboard.jsp
2) Comment or remove the section of the code designated for the Notifications widget.
3) Save the JSP and open the page on your browser.
4) I've used FireFox with FireBug enabled and you can see on the firebug's console that the exception is thrown.
Checking the code I saw the following:
If I change the above code to be like the following, the problem is gone, and I can successfully hide the widgets that I don't want to see anymore.
A customer wants to hide the Notifications and Charts sections from the dashboard, in order to view only the Surveillance View, the Node Status and the Alarms.
Initially, I was thinking in just comment the code on dashboard.jsp but if I do that, JavaScript throws an exception:
uncaught exception: java.lang.IllegalArgumentException: element with id 'notifications' not found!
If I put the html tag for Notifications back again, the exception is gone.