From: erickson Date: Tue, 24 Feb 2009 19:38:34 +0000 (+0000) Subject: tag the field row with the field name to open up some extensibility options X-Git-Tag: sprint4-merge-nov22~10727 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=840ca2cdf860edac03068a51afdb68a4f679f120;p=working%2FEvergreen.git tag the field row with the field name to open up some extensibility options git-svn-id: svn://svn.open-ils.org/ILS/trunk@12285 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/widget/EditPane.js b/Open-ILS/web/js/dojo/openils/widget/EditPane.js index 1b308cb004..3d02e218e6 100644 --- a/Open-ILS/web/js/dojo/openils/widget/EditPane.js +++ b/Open-ILS/web/js/dojo/openils/widget/EditPane.js @@ -57,7 +57,9 @@ if(!dojo._hasResource['openils.widget.EditPane']) { var valSpan = document.createElement('span'); valTd.appendChild(valSpan); + nameTd.appendChild(document.createTextNode(field.label)); + row.setAttribute('fmfield', field.name); row.appendChild(nameTd); row.appendChild(valTd); tbody.appendChild(row);