mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-04-27 17:31:07 -04:00
14 lines
224 B
JavaScript
14 lines
224 B
JavaScript
function submitForm( element ) {
|
|
var form = element.form;
|
|
if ( form.option.selectedIndex == 0 ) {
|
|
form.view.value = currentView;
|
|
} else {
|
|
form.view.value = 'none';
|
|
}
|
|
}
|
|
|
|
if ( openZmWindow ) {
|
|
zmWindow();
|
|
}
|
|
|