2018-08-31 01:25:02 +08:00
|
|
|
function submitForm( element ) {
|
|
|
|
var form = element.form;
|
2019-01-19 23:32:40 +08:00
|
|
|
if ( form.option.selectedIndex == 0 ) {
|
2018-08-31 01:25:02 +08:00
|
|
|
form.view.value = currentView;
|
2019-01-19 23:32:40 +08:00
|
|
|
} else {
|
2018-08-31 01:25:02 +08:00
|
|
|
form.view.value = 'none';
|
2019-01-19 23:32:40 +08:00
|
|
|
}
|
2018-08-31 01:25:02 +08:00
|
|
|
form.submit();
|
|
|
|
}
|
|
|
|
|