[open-ils-commits] r15269 - trunk/Open-ILS/web/js/ui/default/vandelay (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 7 11:14:27 EST 2010
Author: phasefx
Date: 2010-01-07 11:14:25 -0500 (Thu, 07 Jan 2010)
New Revision: 15269
Modified:
trunk/Open-ILS/web/js/ui/default/vandelay/vandelay.js
Log:
This fixes the checkbox selector in Vandelay's Inspect Queue interface, so you can, for example, check a specific record in the queue and do Actions ->
Import Selected without the progressmeter hanging with a dojo.byId() is null error. The formatter for the checkbox column in the table gets called
multiple times for a given row, and the first time it gets called it's using an id of null. Subsequent calls with a real id replace the HTML generated.
Modified: trunk/Open-ILS/web/js/ui/default/vandelay/vandelay.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/vandelay/vandelay.js 2010-01-07 00:19:56 UTC (rev 15268)
+++ trunk/Open-ILS/web/js/ui/default/vandelay/vandelay.js 2010-01-07 16:14:25 UTC (rev 15269)
@@ -735,7 +735,7 @@
function vlQueueGridFormatSelectBox(id) {
var domId = 'vl-record-list-selected-' + id;
- selectableGridRecords[domId] = id;
+ if (id) { selectableGridRecords[domId] = id; }
return "<div><input type='checkbox' id='"+domId+"'/></div>";
}
More information about the open-ils-commits
mailing list