[dev] Left Frame Menu missing ...
Marc G. Fournier
scrappy at hub.org
Mon Sep 27 10:30:48 PDT 2004
'k, trying to trace the javascript as best as I can (which doesn't say
much) ... I can see how the menu is being created, through the
n_horde_menu assigns ... and, when I first login, only the root_nodes
should be displayed, right? Based on:
horde_menu.renderTree(root_nodes, false);
being called ...
Now, looking at renderTree in templates/javascript/tree.js:
Horde_Tree.prototype.renderTree = function(rootNodes, renderStatic)
{
this.rootNodes = rootNodes;
this.renderStatic = renderStatic;
this.nodes = eval('n_' + this._instanceName);
this.header = eval('h_' + this._instanceName);
this.options = eval('o_' + this._instanceName);
this.target = 't_' + this._instanceName;
this._renderTree();
}
Shouldn't there be something defined for h_horde_menu?
n_horde_menu['logout']['icon'] = '/graphics/logout.gif';
n_horde_menu['logout']['icondir'] = '';
if (typeof h_horde_menu != undefined) h_horde_menu = new Array();
if (typeof o_horde_menu != undefined) o_horde_menu = new Array();
o_horde_menu['lines'] = '1';
o_horde_menu['border'] = '0';
I have n_horde_menu, o_horde_menu, but no h_horde_menu ... what looks like
it should be h_horde_menu is the root_nodes stuff though ...
On Mon, 27 Sep 2004, Marc G. Fournier wrote:
>
>> Yeah, looks fine. Dunno then.
>
> Stupid question ... I'm using IMP/application for authentication ... could
> that have anything to do with it?
>
> Javascript is not a language I've ever dived into, so I'm not sure how to
> trace this, considering the whole menu seems to be javascript based :(
>
>
> ----
> Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
> Email: scrappy at hub.org Yahoo!: yscrappy ICQ: 7615664
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org Yahoo!: yscrappy ICQ: 7615664
More information about the dev
mailing list