Bugfix: Memoryblock, Option "Collapsible: expanded by default."
quiptime - October 24, 2007 - 14:06
| Project: | JSFX |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Please correct in the file /js/memoryblock.js a little bug.
Current code:
else if (status != 'closed' && status == 2) {
top.attr("class","blockTopOpen")
createCookie(id, 'open', 1);
}fixed code:
else if (status != 'closed' || status == 2) {
top.attr("class","blockTopOpen")
createCookie(id, 'open', 1);
}Please change && to ||.
German users can read little bit more description:
JSFX - kleiner Codefehler mit großer Wirkung. Bugfix.
http://blog.quiptime.com/node/1715
-----------------------------
quiptime
