zoneminder/web/skins/classic/views/js/version.js

14 lines
224 B
JavaScript
Raw Permalink Normal View History

2017-05-19 01:50:56 +08:00
function submitForm( element ) {
var form = element.form;
if ( form.option.selectedIndex == 0 ) {
form.view.value = currentView;
} else {
form.view.value = 'none';
}
}
2017-05-19 01:50:56 +08:00
if ( openZmWindow ) {
zmWindow();
}