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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
353 B
JavaScript
Raw Normal View History

2017-05-19 01:50:56 +08:00
function submitCamera( element ) {
var form = element.form;
if (opener) {
form.target = opener.name;
}
2017-05-19 01:50:56 +08:00
form.view.value = 'monitor';
form.submit();
}
2017-05-19 01:50:56 +08:00
function configureButtons( element ) {
var form = element.form;
form.saveBtn.disabled = (form.probe.selectedIndex==0);
}
function changeInterface(element) {
element.form.submit();
}