This breaks in Safari. You can't submit any bugs.

  I'm looking into this now.

   ... Glenn


Begin forwarded message:
From: vboctor@users.sourceforge.net
Date: March 21, 2008 3:09:43 AM GMT-04:00
To: mantisbt-cvs@lists.sourceforge.net
Subject: [mantisbt-cvs] SF.net SVN: mantisbt: [5131] trunk/mantisbt

Revision: 5131
         http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5131&view=rev
Author:   vboctor
Date:     2008-03-21 00:09:42 -0700 (Fri, 21 Mar 2008)

Log Message:
-----------
Fixed #8981: Multiple bug submissions

Modified Paths:
--------------
   trunk/mantisbt/bug_report_advanced_page.php
   trunk/mantisbt/bug_report_page.php
   trunk/mantisbt/bug_update_advanced_page.php
   trunk/mantisbt/bug_update_page.php
   trunk/mantisbt/bugnote_add_inc.php

Modified: trunk/mantisbt/bug_report_advanced_page.php
===================================================================
--- trunk/mantisbt/bug_report_advanced_page.php 2008-03-21 05:48:42 UTC (rev 5130)
+++ trunk/mantisbt/bug_report_advanced_page.php 2008-03-21 07:09:42 UTC (rev 5131)
@@ -538,7 +538,7 @@
<span class="required"> * <?php echo lang_get( 'required' ) ?></span>
</td>
<td class="center">
- <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" />
+ <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" onclick="this.disabled=1;" />
</td>
</tr>


Modified: trunk/mantisbt/bug_report_page.php
===================================================================
--- trunk/mantisbt/bug_report_page.php 2008-03-21 05:48:42 UTC (rev 5130)
+++ trunk/mantisbt/bug_report_page.php 2008-03-21 07:09:42 UTC (rev 5131)
@@ -368,7 +368,7 @@
<span class="required"> * <?php echo lang_get( 'required' ) ?></span>
</td>
<td class="center">
- <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" />
+ <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" onclick="this.disabled=1;" />
</td>
</tr>


Modified: trunk/mantisbt/bug_update_advanced_page.php
===================================================================
--- trunk/mantisbt/bug_update_advanced_page.php 2008-03-21 05:48:42 UTC (rev 5130)
+++ trunk/mantisbt/bug_update_advanced_page.php 2008-03-21 07:09:42 UTC (rev 5131)
@@ -31,8 +31,7 @@
require_once( $t_core_path.'date_api.php' );
require_once( $t_core_path.'last_visited_api.php' );
require_once( $t_core_path.'projax_api.php' );
-?>
-<?php
+
$f_bug_id = gpc_get_int( 'bug_id' );

$t_bug = bug_prepare_edit( bug_get( $f_bug_id, true ) );
@@ -587,7 +586,7 @@
<!-- Submit Button -->
<tr>
<td class="center" colspan="6">
- <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'update_information_button' ) ?>" />
+ <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'update_information_button' ) ?>" onclick="this.disabled=1;" />
</td>
</tr>


Modified: trunk/mantisbt/bug_update_page.php
===================================================================
--- trunk/mantisbt/bug_update_page.php 2008-03-21 05:48:42 UTC (rev 5130)
+++ trunk/mantisbt/bug_update_page.php 2008-03-21 07:09:42 UTC (rev 5131)
@@ -423,7 +423,7 @@
<!-- Submit Button -->
<tr>
<td class="center" colspan="6">
- <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'update_information_button' ) ?>" />
+ <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'update_information_button' ) ?>" onclick="this.disabled=1;" />
</td>
</tr>


Modified: trunk/mantisbt/bugnote_add_inc.php
===================================================================
--- trunk/mantisbt/bugnote_add_inc.php 2008-03-21 05:48:42 UTC (rev 5130)
+++ trunk/mantisbt/bugnote_add_inc.php 2008-03-21 07:09:42 UTC (rev 5131)
@@ -91,7 +91,7 @@
<?php event_signal( 'EVENT_VIEW_BUGNOTE_ADD', $f_bug_id ); ?>
<tr>
<td class="center" colspan="2">
- <input type="submit" class="button" value="<?php echo lang_get( 'add_bugnote_button' ) ?>" />
+ <input type="submit" class="button" value="<?php echo lang_get( 'add_bugnote_button' ) ?>"  onclick="this.disabled=1;" />
</td>
</tr>
</table>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mantisbt-cvs mailing list
mantisbt-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-cvs


-- 
Glenn Henshaw                     Logical Outcome Ltd.         
e: thraxisp@logicaloutcome.ca     w: www.logicaloutcome.ca
Mantis Developer and User