Revision: 1941
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1941&view=rev
Author:   cimorrison
Date:     2011-09-08 21:14:51 +0000 (Thu, 08 Sep 2011)
Log Message:
-----------
Fixed bug which prevented the edit_entry form being submitted when using Chrome

Modified Paths:
--------------
    mrbs/trunk/web/edit_entry.php
    mrbs/trunk/web/edit_entry_handler.php

Modified: mrbs/trunk/web/edit_entry.php
===================================================================
--- mrbs/trunk/web/edit_entry.php       2011-09-08 18:26:47 UTC (rev 1940)
+++ mrbs/trunk/web/edit_entry.php       2011-09-08 21:14:51 UTC (rev 1941)
@@ -1256,7 +1256,7 @@
     // The Submit button
     echo "<div id=\"edit_entry_submit_save\">\n";
     echo "<input class=\"submit\" type=\"submit\" name=\"save_button\" 
value=\"" .
-      get_vocab("save") . "\" onclick=\"return validate('main')\">\n";
+      get_vocab("save") . "\" onclick=\"if (validate('main')) 
this.form.submit(); return false\">\n";
     echo "</div>\n";
     
     // divs to hold the results of the Ajax checking of the booking

Modified: mrbs/trunk/web/edit_entry_handler.php
===================================================================
--- mrbs/trunk/web/edit_entry_handler.php       2011-09-08 18:26:47 UTC (rev 
1940)
+++ mrbs/trunk/web/edit_entry_handler.php       2011-09-08 21:14:51 UTC (rev 
1941)
@@ -56,7 +56,7 @@
                   'end_year'          => 'int',
                   'back_button'       => 'string',
                   'ajax'              => 'int');
-                  
+                 
 foreach($formvars as $var => $var_type)
 {
   $$var = get_form_var($var, $var_type);

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


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to