[Weberp-svn] SF.net SVN: weberp:[9280] trunk/GLJournal.php
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-06-29 21:36:39
|
Revision: 9280 http://weberp.svn.sourceforge.net/weberp/?rev=9280&view=rev Author: tim_schofield Date: 2012-06-29 21:36:33 +0000 (Fri, 29 Jun 2012) Log Message: ----------- Provide event handler for new Ajax functionality Modified Paths: -------------- trunk/GLJournal.php Modified: trunk/GLJournal.php =================================================================== --- trunk/GLJournal.php 2012-06-29 21:36:23 UTC (rev 9279) +++ trunk/GLJournal.php 2012-06-29 21:36:33 UTC (rev 9280) @@ -223,7 +223,7 @@ unset($_POST['GLManualCode']); } -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post" name="form">'; +echo '<form onsubmit="return SubmitForm(this)" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post" name="form">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |