Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1883 status bar displays 'c', 'o', or null when using custom menu

v1.8.5
closed
5
2005-03-03
2005-02-18
oudeis
No

With Internet Explorer 6, the statusbar displays 'c', 'o',
or null when using a custom menu. Konqueror 3.3 and
Firefox 1.0 (Linux) don't show this behaviour.

The problem is in lib/tiki-js.js, in the function
setfolderstate(). The return value of getCookie is
assigned to the variable 'status', and this value is
displayed in the status bar. By changing the name of
this variable, or making it a variable with local scope, the
problem disappears.

See following patch:
--- tiki-js.js_orig 2005-02-18 10:06:59.974968392
+0100
+++ tiki-js.js 2005-02-18 09:45:45.464723400 +0100
@@ -238,7 +238,7 @@
* the menu is collapsed function of its cookie: if no
cookie is set, the def is used
*/
function setfolderstate(foo, def) {
- status = getCookie(foo);
+ var status = getCookie(foo);
if (status == "o") {
show(foo);
} else if (status != "c" && def == 'e') {

Discussion

    • status: open --> closed
     
  • Logged In: YES
    user_id=784615

    Thanks for this one, it was a hard one ... in 1.8 and 1.9 cvs

     
    • assigned_to: nobody --> sylvieg