diff --git a/web/skins/classic/views/js/monitorprobe.js b/web/skins/classic/views/js/monitorprobe.js index 1b628ed69..96f0c701e 100644 --- a/web/skins/classic/views/js/monitorprobe.js +++ b/web/skins/classic/views/js/monitorprobe.js @@ -1,6 +1,8 @@ function submitCamera( element ) { var form = element.form; - form.target = opener.name; + if (opener) { + form.target = opener.name; + } form.view.value = 'monitor'; form.submit(); }