Continue to work even if opener isn't defined, which it isn't anymore because we got rid of popups. Fixes save button on monitorprobe.
This commit is contained in:
parent
6a6d6935e8
commit
c280279cf7
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue