Browse files

Fixed a problem submitting form for adding scheduling policy

Something was wrong using the submitForm js function
  • Loading branch information...
1 parent d52e77e commit df92c6edc953d9bc83f8e1e5d0c3b5fc709fc113 @adam704a adam704a committed Feb 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/add_scheduling_policy_form.php
@@ -31,14 +31,14 @@ function toggle()
function onSubmitButtonClicked(){
- submitForm('entryform');
+ document.addschedulepolicyform.submit();
<div align="center">
<div style="text-align:left">
- <form name="entryform" method="post" action="<?=$ME?>" autocomplete="off">
+ <form name="addschedulepolicyform" method="post" action="<?=$ME?>" autocomplete="off">
<div style="padding-bottom: 20px"> <a href="../help/scheduling_policies_explained.html?iframe=true&width=600&height=450" rel="prettyPhoto[iframes]">Help with Scheduling Policies</a> </div>
<table cellspacing="0" cellpadding="20" width="550" class="generictable" id="formtable">
<tr class="borderow">

0 comments on commit df92c6e

Please sign in to comment.