diff --git a/browser/common.py b/browser/common.py index 9ab6845..ae5bac9 100644 --- a/browser/common.py +++ b/browser/common.py @@ -349,7 +349,7 @@ class BaseView(GenericView, I18NView): @Lazy def dcDescription(self): - return self.dublincore.description or self.description + return self.dublincore.description or u'' #self.description @Lazy def headTitle(self): diff --git a/browser/form_macros.pt b/browser/form_macros.pt index 5e32cb8..667d643 100644 --- a/browser/form_macros.pt +++ b/browser/form_macros.pt @@ -97,7 +97,7 @@ tal:attributes="onChange string:return replaceFieldsNode( 'form.fields', 'form.type', - '${view/url}/$innerForm')"> + '${view/virtualTargetUrl}/$innerForm')">