Show richtext also if not filled.

This commit is contained in:
Martin Edenhofer 2014-12-17 14:25:34 +01:00
parent f89c91dcaf
commit 646e4172a1
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ class App.WidgetOrganization extends App.Controller
name = nameNew
# add to show if value exists
if organization[name] && attributeConfig.shown
if ( organization[name] || attributeConfig.tag is 'richtext' ) && attributeConfig.shown
# do not show firstname and lastname / already show via diplayName()
if name isnt 'name'

View file

@ -28,7 +28,7 @@ class App.WidgetUser extends App.Controller
name = nameNew
# add to show if value exists
if user[name] && attributeConfig.shown
if ( user[name] || attributeConfig.tag is 'richtext' ) && attributeConfig.shown
# do not show firstname and lastname / already show via diplayName()
if name isnt 'firstname' && name isnt 'lastname' && name isnt 'organization'