Show richtext also if not filled.
This commit is contained in:
parent
f89c91dcaf
commit
646e4172a1
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ class App.WidgetOrganization extends App.Controller
|
||||||
name = nameNew
|
name = nameNew
|
||||||
|
|
||||||
# add to show if value exists
|
# 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()
|
# do not show firstname and lastname / already show via diplayName()
|
||||||
if name isnt 'name'
|
if name isnt 'name'
|
||||||
|
|
|
@ -28,7 +28,7 @@ class App.WidgetUser extends App.Controller
|
||||||
name = nameNew
|
name = nameNew
|
||||||
|
|
||||||
# add to show if value exists
|
# 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()
|
# do not show firstname and lastname / already show via diplayName()
|
||||||
if name isnt 'firstname' && name isnt 'lastname' && name isnt 'organization'
|
if name isnt 'firstname' && name isnt 'lastname' && name isnt 'organization'
|
||||||
|
|
Loading…
Reference in a new issue