[hobbit] adding new level 0 items

Henrik Stoerner henrik at hswn.dk
Fri Oct 7 12:51:09 CEST 2005


On Fri, Oct 07, 2005 at 06:54:05PM +0900, Keio Oyama wrote:
> I'm going to add a new "level 0" item to the menu bar, but can't.
> I added some lines to the ~/server/www/menu/menu_items.js file, like this,
> 
[snip]
> /* added */
>         ['Link', null, null,
>                 ['test', 'http://hoge.com/test.html'],
>         ],
> /* added end */
> ];
> --------------------------
> 
> After that, the menu var became not to be displayed.

Have you tried it without those comments ? This is part of 
some JavaScript, so if you must use comments I think they
should be '//' - like

   // added comment


Henrik




More information about the Xymon mailing list