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

18 lines
353 B
JavaScript

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