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

13 lines
295 B
JavaScript
Raw Normal View History

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