Page 1 of 1

preset popup window error

Posted: Sat Oct 27, 2007 4:06 pm
by sticcino
Hi,

not sure if its just my system or what, but when i select the preset option, i get:

Line 38: Invalid argument

Code: Select all

function newWindow(Url,Name,Width,Height)
{
	var Win = window.open(Url,Name,"resizable,width="+Width+",height="+Height);
}
[url]

//edit
the "preset url" from the source pop-up window contains:

javascript: newWindow( '/zm/index.php?view=monitorpreset&mid=3', 'zmMonitorPreset<?= 3 ?>', 400, 200 );

[b]IF[/b] i change it to:
javascript: newWindow( '/zm/index.php?view=monitorpreset&mid=3', '[b]zmMonitorPreset3[/b]', 400, 200 );

the presets window pops-up

//edit end

Run from Windows 2000 pro, IE6

Thanks,
Johnny
[/url]

Posted: Sun Nov 11, 2007 2:53 pm
by zoneminder
Thanks for this. I cannot find this issue anywhere in the code. Are you definately running 1.23.0?