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.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15269
dcc99617-32d9-48b4-a31d-
7c20da2025e4
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>";
}