15 lines
307 B
JavaScript
15 lines
307 B
JavaScript
|
function submitPreset( element )
|
||
|
{
|
||
|
var form = element.form;
|
||
|
form.target = opener.name;
|
||
|
form.view.value = 'monitor';
|
||
|
form.submit();
|
||
|
closeWindow.delay( 250 );
|
||
|
}
|
||
|
|
||
|
function configureButtons( this )
|
||
|
{
|
||
|
var form = element.form;
|
||
|
form.saveBtn.disabled = (form.preset.selectedIndex==0);
|
||
|
}
|