Skip to content
Browse files

fix rich widget enough to render ATDocuments

  • Loading branch information...
1 parent 0ea3d78 commit 5f0dab939f52cf47ef7d14f093092f9aacbf85ff @cah190 cah190 committed May 20, 2012
Showing with 3 additions and 8 deletions.
  1. +3 −8 Products/Archetypes/skins/archetypes/widgets/rich.pt
View
11 Products/Archetypes/skins/archetypes/widgets/rich.pt
@@ -8,16 +8,11 @@
<!-- Rich Widgets -->
- <metal:view_macro define-macro="view"
- tal:define="kssClassesView context/@@kss_field_decorator_view;
- getKssClasses nocall:kssClassesView/getKssClassesInlineEditable;">
+ <metal:view_macro define-macro="view">
<div metal:define-macro="rich-field-view"
tal:define="uid context/UID|nothing;
- field_id string:parent-fieldname-$fieldName-$uid;
- kss_class python:getKssClasses(fieldName,
- templateId='widgets/rich', macro='rich-field-view', target=field_id);"
- tal:attributes="class kss_class;
- id field_id">
+ field_id string:parent-fieldname-$fieldName-$uid"
+ tal:attributes="id field_id">
<span metal:define-slot="inside"
tal:define="transformable python: context.isTransformable(fieldName);"
tal:condition="transformable"

0 comments on commit 5f0dab9

Please sign in to comment.
Something went wrong with that request. Please try again.