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

12 lines
267 B
JavaScript

function submitCamera( element ) {
var form = element.form;
form.target = opener.name;
form.view.value = 'monitor';
form.submit();
}
function configureButtons( element ) {
var form = element.form;
form.saveBtn.disabled = (form.probe.selectedIndex==0);
}