[Erp5-report] r8250 - /erp5/trunk/products/ERP5Form/PlanningBox.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 30 14:42:50 CEST 2006


Author: thomas
Date: Fri Jun 30 14:42:49 2006
New Revision: 8250

URL: http://svn.erp5.org?rev=8250&view=rev
Log:
updated structure names in the validator method to prevent CSS classes conflict with xhtml style

Modified:
    erp5/trunk/products/ERP5Form/PlanningBox.py

Modified: erp5/trunk/products/ERP5Form/PlanningBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/PlanningBox.py?rev=8250&r1=8249&r2=8250&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/PlanningBox.py (original)
+++ erp5/trunk/products/ERP5Form/PlanningBox.py Fri Jun 30 14:42:49 2006
@@ -432,10 +432,10 @@
     # calendar mode. for that will need to add special informations about the
     # group itself to know its own bounds.
     delta_start = block_moved['secondary_axis_position'] / \
-                  planning_coordinates['frame']['content'][axis_length]
+                  planning_coordinates['frame']['planning_content'][axis_length]
     delta_stop  = (block_moved['secondary_axis_position'] + \
                   block_moved['secondary_axis_length']) / \
-                  planning_coordinates['frame']['content'][axis_length]
+                  planning_coordinates['frame']['planning_content'][axis_length]
 
     # testing different cases of invalidation
     if delta_stop < 0 or delta_start > 1 :




More information about the Erp5-report mailing list