zoneminder/web/skins/flat/views/js/monitorpreset.js

15 lines
310 B
JavaScript
Raw Normal View History

2014-01-22 22:24:06 +08:00
function submitPreset( element )
{
var form = element.form;
form.target = opener.name;
form.view.value = 'monitor';
form.submit();
closeWindow.delay( 250 );
}
function configureButtons( element )
{
var form = element.form;
form.saveBtn.disabled = (form.preset.selectedIndex==0);
}