Fixed rendering of field value view.

This commit is contained in:
Giulio Cesare Solaroli 2015-07-20 15:13:35 +02:00
parent 1f9c30cdfb
commit c65c406944

View File

@ -216,7 +216,8 @@ Clipperz.PM.UI.Components.Cards.ViewClass = React.createClass({
React.DOM.div({'className':'fieldEditAction'}, null), React.DOM.div({'className':'fieldEditAction'}, null),
React.DOM.div({'className':'fieldValues'}, [ React.DOM.div({'className':'fieldValues'}, [
React.DOM.div({'className':'fieldLabel'}, aField['label']), React.DOM.div({'className':'fieldLabel'}, aField['label']),
React.DOM.textarea({ Clipperz.PM.UI.Components.Cards.TextArea({
// React.DOM.textarea({
'readOnly': true, 'readOnly': true,
'onClick': function(e) { e.target.select(); }, 'onClick': function(e) { e.target.select(); },
'className':Clipperz.PM.UI.Components.classNames(cardFieldValueClasses), 'className':Clipperz.PM.UI.Components.classNames(cardFieldValueClasses),