[Weberp-svn] SF.net SVN: weberp:[9312] trunk/Customers.php
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-06-30 10:52:56
|
Revision: 9312 http://weberp.svn.sourceforge.net/weberp/?rev=9312&view=rev Author: tim_schofield Date: 2012-06-30 10:52:50 +0000 (Sat, 30 Jun 2012) Log Message: ----------- Provide event handler for new Ajax functionality Modified Paths: -------------- trunk/Customers.php Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-06-30 10:52:41 UTC (rev 9311) +++ trunk/Customers.php 2012-06-30 10:52:50 UTC (rev 9312) @@ -439,7 +439,7 @@ exit; } - 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="New" value="Yes" />'; @@ -599,7 +599,7 @@ //DebtorNo exists - either passed when calling the form or from the form itself - 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 '<table class="selection" cellspacing="4"><tr><td valign="top"><table style="background: transparent">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |