[open-ils-commits] r12285 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 24 14:38:37 EST 2009
Author: erickson
Date: 2009-02-24 14:38:34 -0500 (Tue, 24 Feb 2009)
New Revision: 12285
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js
Log:
tag the field row with the field name to open up some extensibility options
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js 2009-02-24 19:08:36 UTC (rev 12284)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js 2009-02-24 19:38:34 UTC (rev 12285)
@@ -57,7 +57,9 @@
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);
More information about the open-ils-commits
mailing list