[open-ils-commits] r9924 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/picklist
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jun 25 12:31:10 EDT 2008
Author: erickson
Date: 2008-06-25 12:31:07 -0400 (Wed, 25 Jun 2008)
New Revision: 9924
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/picklist/bib_search.js
Log:
for now, warn on bib search failure
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/picklist/bib_search.js
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/picklist/bib_search.js 2008-06-25 16:30:34 UTC (rev 9923)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/picklist/bib_search.js 2008-06-25 16:31:07 UTC (rev 9924)
@@ -97,6 +97,11 @@
function handleResult(r) {
var result = r.recv().content();
+ if(openils.Event.parse(result)) {
+ alert(openils.Event.parse(result));
+ dojo.style('searchProgress', 'visibility', 'hidden');
+ return;
+ }
if(result.complete)
return viewResults(result.picklist_id);
searchProgress.update({maximum: result.total, progress: result.progress});
More information about the open-ils-commits
mailing list