[open-ils-commits] r17523 - trunk/Open-ILS/web/js/ui/default/actor/user (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Sep 8 15:57:38 EDT 2010
Author: phasefx
Date: 2010-09-08 15:57:33 -0400 (Wed, 08 Sep 2010)
New Revision: 17523
Modified:
trunk/Open-ILS/web/js/ui/default/actor/user/register.js
Log:
make the table rows containing stat cats in the patron editor more easily selectable by CSS. So, for example, we could put something like this in register_custom.css: TR[stat_cat_id='1'] { border: solid thick red; font-size: x-large; }
Modified: trunk/Open-ILS/web/js/ui/default/actor/user/register.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/actor/user/register.js 2010-09-08 19:32:42 UTC (rev 17522)
+++ trunk/Open-ILS/web/js/ui/default/actor/user/register.js 2010-09-08 19:57:33 UTC (rev 17523)
@@ -456,6 +456,9 @@
var stat = statCats[idx];
var row = statCatTemplate.cloneNode(true);
row.id = 'stat-cat-row-' + idx;
+ row.setAttribute('stat_cat_owner',stat.owner());
+ row.setAttribute('stat_cat_name',stat.name());
+ row.setAttribute('stat_cat_id',stat.id());
tbody.appendChild(row);
getByName(row, 'name').innerHTML = stat.name();
var valtd = getByName(row, 'widget');
More information about the open-ils-commits
mailing list