Commit 2d3c7fe6 authored by Thomas Bernard's avatar Thomas Bernard

updated structure names in the validator method to prevent CSS classes conflict with xhtml style

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8250 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ffd86e5d
......@@ -432,10 +432,10 @@ class PlanningBoxValidator(Validator.StringBaseValidator):
# 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 :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment