[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] adding new level 0 items



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