[Weberp-svn] SF.net SVN: weberp:[9308] trunk/DailyBankTransactions.php
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-06-30 10:52:19
|
Revision: 9308 http://weberp.svn.sourceforge.net/weberp/?rev=9308&view=rev Author: tim_schofield Date: 2012-06-30 10:52:14 +0000 (Sat, 30 Jun 2012) Log Message: ----------- Provide event handler for new Ajax functionality Modified Paths: -------------- trunk/DailyBankTransactions.php Modified: trunk/DailyBankTransactions.php =================================================================== --- trunk/DailyBankTransactions.php 2012-06-30 10:52:04 UTC (rev 9307) +++ trunk/DailyBankTransactions.php 2012-06-30 10:52:14 UTC (rev 9308) @@ -7,7 +7,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p>'; if (!isset($_POST['Show'])) { - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">'; + echo '<form onsubmit="return SubmitForm(this)" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; @@ -125,7 +125,7 @@ echo '</table>'; } //end if no bank trans in the range to show - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">'; + echo '<form onsubmit="return SubmitForm(this)" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /><div class="centre"><button type="submit" name="Return">' . _('Select Another Date'). '</button></div><br />'; echo '</form>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |