2008-07-14 21:54:50 +08:00
|
|
|
function submitPreset( element )
|
|
|
|
{
|
|
|
|
var form = element.form;
|
|
|
|
form.target = opener.name;
|
|
|
|
form.view.value = 'monitor';
|
|
|
|
form.submit();
|
|
|
|
closeWindow.delay( 250 );
|
|
|
|
}
|
|
|
|
|
2008-07-16 16:41:21 +08:00
|
|
|
function configureButtons( element )
|
2008-07-14 21:54:50 +08:00
|
|
|
{
|
|
|
|
var form = element.form;
|
|
|
|
form.saveBtn.disabled = (form.preset.selectedIndex==0);
|
|
|
|
}
|