web/views/cwproperties.py
changeset 10277 e7cdf820fe8f
parent 8695 358d8bed9626
child 10278 90aab6ddf6d8
--- a/web/views/cwproperties.py	Wed Mar 18 14:41:47 2015 +0100
+++ b/web/views/cwproperties.py	Tue Mar 17 12:35:45 2015 +0100
@@ -302,7 +302,7 @@
         domid = field.dom_id(form)
         value = '<span class="value" id="%s">%s</span>' % (domid, self.value)
         if self.msg:
-            value + '<div class="helper">%s</div>' % self.msg
+            value += '<div class="helper">%s</div>' % self.msg
         return value
 
 
@@ -355,6 +355,7 @@
             msg = form._cw._('you should probably delete that property')
             self.widget = NotEditableWidget(entity.printable_value('value'),
                                             '%s (%s)' % (msg, ex))
+            return
         if entity.pkey.startswith('system.'):
             msg = form._cw._('value associated to this key is not editable '
                              'manually')