preset popup window error

Support and queries relating to all previous versions of ZoneMinder
Locked
sticcino
Posts: 10
Joined: Sat Oct 27, 2007 1:36 am
Location: Toronto, CA

preset popup window error

Post 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]
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Thanks for this. I cannot find this issue anywhere in the code. Are you definately running 1.23.0?
Phil
Locked