- Timestamp:
- May 25, 2010, 11:05:52 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy
r455 r457 761 761 def inputElement= null 762 762 763 String helpText764 765 763 // got a template? 766 764 if (template) { 767 765 // render template fields 768 766 entity.giveFields().each() { 769 def fieldValue 770 helpText= (it.comment && renderType == 'element') ? it.comment : ''767 def fieldValue = entity.getFieldValue(it.name) 768 def helpText = (it.comment && renderType == 'element') ? it.comment : '' 771 769 772 770 // output column opening element? … … 868 866 } 869 867 870 // Render comment, if any871 //if (it.comment) {872 // out << {"$helpText"}873 //}874 875 868 // output column closing element? 876 869 if (renderType == 'column') { -
trunk/web-app/js/wizard.js
r434 r457 104 104 $('div#wizard').find('div.helpIcon').each(function() { 105 105 helpIcon = $(this); 106 helpContent = helpIcon.parent().parent().find('div.helpContent'); 106 helpContent = helpIcon.parent().find('div.helpContent'); 107 if (!helpContent.html()) { 108 helpContent = helpIcon.parent().parent().find('div.helpContent'); 109 } 107 110 108 111 // handle special content
Note: See TracChangeset
for help on using the changeset viewer.