Posted by jptavan on September 30, 2007 at 1:12pm
Jump to:
| Project: | JSFX |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The class "blockTopOpen" is applied to the h2 header when you click to open a block.
But when you navigate to another page, it is forgetted.
I think there is a typo on memoryblock.js :
else if (status != 'closed' && status == 2) {
top.attr("class","blockTopOpen")
createCookie(id, 'open', 1);
}The value for "status" cannot be "2", and this test is always false
This one is ok :
else if (status == 'open' || (status == null && setting == 2)) {
Comments
#1
I never noticed that before. Your solution seems to work. I'll add it to the next release.
Thanks a lot,
Silvio