tag the field row with the field name to open up some extensibility options
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 24 Feb 2009 19:38:34 +0000 (19:38 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 24 Feb 2009 19:38:34 +0000 (19:38 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12285 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/widget/EditPane.js

index 1b308cb..3d02e21 100644 (file)
@@ -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);