[Erp5-report] r11276 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 13 12:15:59 CET 2006


Author: jerome
Date: Mon Nov 13 12:15:57 2006
New Revision: 11276

URL: http://svn.erp5.org?rev=11276&view=rev
Log:
disable submit buttons after they are clicked


Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml?rev=11276&r1=11275&r2=11276&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml Mon Nov 13 12:15:57 2006
@@ -90,13 +90,16 @@
           <tal:block metal:define-slot="bottom" />\n
         </div>\n
         <input tal:attributes="value python: here.Base_translateString(\'Cancel\')"\n
-               id="dialog_cancel_button" name="Base_cancel:method" type="submit" />\n
+               id="dialog_cancel_button" name="Base_cancel:method" type="submit"\n
+               onclick="this.onclick=function(event) { return false; };" />\n
         <input tal:condition="python: form.update_action!=\'\'"\n
                tal:attributes="value python: here.Base_translateString(\'Update\')"\n
-               id="dialog_update_button" name="Base_showUpdateDialog:method" type="submit" />\n
+               id="dialog_update_button" name="Base_showUpdateDialog:method" type="submit"\n
+               onclick="this.onclick=function(event) { return false; };" />\n
         <input tal:attributes="value python: here.Base_translateString(here.Base_getFormViewDialogActionButtonTitle(form));\n
                                name python: \'%s:method\' % (form_action, )"\n
-               id="dialog_submit_button" type="submit" />\n
+               id="dialog_submit_button" type="submit"\n
+               onclick="this.onclick=function(event) { return false; };" />\n
       </tal:block>\n
     </tal:block>\n
   </tal:block>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=11276&r1=11275&r2=11276&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Mon Nov 13 12:15:57 2006
@@ -1,1 +1,1 @@
-294
+295




More information about the Erp5-report mailing list