From 840ca2cdf860edac03068a51afdb68a4f679f120 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 24 Feb 2009 19:38:34 +0000 Subject: [PATCH] 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 --- Open-ILS/web/js/dojo/openils/widget/EditPane.js | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.11.0