19 lines
254 B
JavaScript
19 lines
254 B
JavaScript
|
function submitForm( element )
|
||
|
{
|
||
|
var form = element.form;
|
||
|
if ( form.option.selectedIndex == 0 )
|
||
|
{
|
||
|
form.view.value = currentView;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
form.view.value = 'none';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
if ( openZmWindow )
|
||
|
{
|
||
|
zmWindow();
|
||
|
}
|
||
|
|