[open-ils-commits] r10652 - trunk/Open-ILS/web/vandelay
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 19 16:52:43 EDT 2008
Author: erickson
Date: 2008-09-19 16:52:39 -0400 (Fri, 19 Sep 2008)
New Revision: 10652
Modified:
trunk/Open-ILS/web/vandelay/vandelay.js
Log:
set processed count to 0 pre-upload. fixed bug in is-grid-already-built logic
Modified: trunk/Open-ILS/web/vandelay/vandelay.js
===================================================================
--- trunk/Open-ILS/web/vandelay/vandelay.js 2008-09-19 20:52:01 UTC (rev 10651)
+++ trunk/Open-ILS/web/vandelay/vandelay.js 2008-09-19 20:52:39 UTC (rev 10652)
@@ -178,6 +178,7 @@
* asynchronously upload a file of MARC records
*/
function uploadMARC(onload){
+ dojo.byId('vl-upload-status-count').innerHTML = '0';
dojo.byId('vl-ses-input').value = authtoken;
displayGlobalDiv('vl-marc-upload-status-div');
dojo.io.iframe.send({
@@ -215,7 +216,6 @@
* out into the vandelay tables
*/
function processSpool(key, queueId, type, onload) {
- dojo.byId('vl-upload-status-count').innerHTML = '0';
fieldmapper.standardRequest(
['open-ils.vandelay', 'open-ils.vandelay.'+type+'.process_spool'],
{ async: true,
@@ -465,12 +465,13 @@
}
}
+var vlQueueGridBuilt = false;
function buildRecordGrid(type) {
displayGlobalDiv('vl-queue-div');
currentOverlayRecordsMap = {};
- if(!vlQueueGrid.structure) {
+ if(!vlQueueGridBuilt) {
var defs = (type == 'bib') ? bibAttrDefs : authAttrDefs;
for(var i = 0; i < defs.length; i++) {
var def = defs[i]
@@ -483,6 +484,7 @@
};
vlQueueGridLayout[0].cells[0].push(col);
}
+ vlQueueGridBuilt = true;
}
var storeData;
More information about the open-ils-commits
mailing list