border: 1px solid red;
}
</style>
- <script type="text/javascript" djConfig="parseOnLoad: true,isDebug:false" src="/js/dojo/dojo/dojo.js"></script>
+ <script type="text/javascript" djConfig="parseOnLoad: true,isDebug:true" src="/js/dojo/dojo/dojo.js"></script>
+ <script type="text/javascript" src='/js/dojo/openils/MarcXPathParser.js'></script>
<script type="text/javascript" src='vandelay.js'></script>
</head>
<body class="tundra tall">
<button dojoType='dijit.form.Button' onclick='vlSelectAllGridRecords();'>Select All</button>
<button dojoType='dijit.form.Button' onclick='vlSelectNoGridRecords();'>Select None</button>
<button dojoType='dijit.form.Button' onclick='vlImportSelectedRecords();'>Import Selected</button>
+ Only show records with possible matches <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches'
+ checked='checked' onclick='retrieveQueuedRecords(currentType, currentQueueId, handleRetrieveRecords)'/>
<div class='tall'>
<div dojoType='dojox.Grid' jsId='vlQueueGrid' class='tall'> </div>
</div>
selectableGridRecords = {};
resetVlQueueGridLayout();
+ var method = 'open-ils.vandelay.'+type+'_queue.records.retrieve.atomic';
+ if(vlQueueGridShowMatches.checked)
+ method = method.replace('records', 'records.matches');
+
fieldmapper.standardRequest(
- ['open-ils.vandelay', 'open-ils.vandelay.'+type+'_queue.records.retrieve.atomic'],
+ ['open-ils.vandelay', method],
{ async: true,
params: [authtoken, queueId, {clear_marc:1}],
/* intermittent bug in streaming, multipart requests prevents use of onreponse for now...