Author: jmorliaguet
Date: Mon Oct  3 19:20:11 2005
New Revision: 27888

Modified:
   z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_panel.pt
Log:

- simplification: the edited element to display initially in the edit panel
  will be computed earlier.



Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_panel.pt
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_panel.pt    
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/authoring/edit_panel.pt    
Mon Oct  3 19:20:11 2005
@@ -3,18 +3,12 @@
     <frameset rows="70px,*,50px" frameborder="0"
      tal:define="tmutil context/@@getThemeManager;
                  id request/form/id;
-                 format_name request/form/format|string:style;
                  element python: tmutil.getElementById(id);
-                 element_url element/@@absolute_url;
-                 perspective context/@@getPerspective;
-                 displayable element/displayable:this;
-                 display python: displayable.getEffectiveDisplay(perspective);
-                 formattable display/formattable:this;
-                 format python: formattable.getFormat(format_name)">
+                 element_url element/@@absolute_url">
       <frame name="menu" scrolling="no"
        tal:attributes="src string:${element_url}/@@edit-menu.html" />
       <frame name="main"
-       tal:attributes="src string:${format/@@absolute_url}/@@edit.html" />
+       tal:attributes="src string:${element_url}/@@edit.html" />
       <frame name="control" scrolling="no"
        tal:attributes="src string:${element_url}/@@edit-control.html" />
     </frameset>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to