[Weberp-svn] SF.net SVN: weberp:[9275] trunk/GLTrialBalance.php
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-06-29 21:35:51
|
Revision: 9275 http://weberp.svn.sourceforge.net/weberp/?rev=9275&view=rev Author: tim_schofield Date: 2012-06-29 21:35:45 +0000 (Fri, 29 Jun 2012) Log Message: ----------- Provide event handler for new Ajax functionality Modified Paths: -------------- trunk/GLTrialBalance.php Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2012-06-29 21:35:36 UTC (rev 9274) +++ trunk/GLTrialBalance.php 2012-06-29 21:35:45 UTC (rev 9275) @@ -22,7 +22,7 @@ include ('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Trial Balance') . '" alt="" />' . ' ' . $title . '</p>'; - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; + echo '<form onsubmit="return SubmitForm(this)" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (Date('m') > $_SESSION['YearEnd']){ @@ -379,7 +379,7 @@ } else { include('includes/header.inc'); - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; + echo '<form onsubmit="return SubmitForm(this)" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="FromPeriod" value="' . $_POST['FromPeriod'] . '" /> <input type="hidden" name="ToPeriod" value="' . $_POST['ToPeriod'] . '" />'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |