Author: jmorliaguet
Date: Mon Feb 13 11:30:05 2006
New Revision: 2373

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/chatinput.pt
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/forms/sampleform.pt
Log:

- we cancel the form submission in the form controller



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Mon Feb 13 
11:30:05 2006
@@ -463,6 +463,8 @@
     });
 
     model.setData(form_data);
+
+    return false;
   }
 
 });

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/chatinput.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/chatinput.pt
    (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/chatinput.pt
    Mon Feb 13 11:30:05 2006
@@ -1,4 +1,4 @@
-<form action="" method="post" onsubmit="return false">
+<form action="" method="post">
 
   <div class="status" ctal:condition="status"
                       ctal:content="status">status message</div>

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/forms/sampleform.pt
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/forms/sampleform.pt
  (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/forms/sampleform.pt
  Mon Feb 13 11:30:05 2006
@@ -1,4 +1,4 @@
-<form action="" onsubmit="return false" method="post">
+<form action="" method="post">
 
   <p ctal:repeat="f fields">
     <label ctal:content="f/label">LABEL</label>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to