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
acdd8bb08b
commit
7db25a5e1b
|
@ -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