Xymon Mailing List Archive search

adding new level 0 items

list Henrik Størner
Fri, 7 Oct 2005 12:51:09 +0200
Message-Id: <user-f2e1cb01f4d9@xymon.invalid>

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