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

15 lines
272 B
JavaScript
Raw Normal View History

2014-01-22 22:24:06 +08:00
function submitForm( element )
{
var form = element.form;
if ( form.option.selectedIndex == 0 )
form.view.value = currentView;
else
form.view.value = 'none';
form.submit();
}
if ( action == "donate" && option == "go" )
{
zmWindow();
}