[open-ils-commits] r17421 - branches/rel_2_0/Open-ILS/web/opac/skin/default/js (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 1 11:00:22 EDT 2010


Author: miker
Date: 2010-09-01 11:00:19 -0400 (Wed, 01 Sep 2010)
New Revision: 17421

Modified:
   branches/rel_2_0/Open-ILS/web/opac/skin/default/js/container.js
   branches/rel_2_0/Open-ILS/web/opac/skin/default/js/holds.js
   branches/rel_2_0/Open-ILS/web/opac/skin/default/js/result_common.js
Log:
backport r17419 from trunk: added explicit IDL class loading for cbreb, cbrebi, mvr, and ahr

Modified: branches/rel_2_0/Open-ILS/web/opac/skin/default/js/container.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/opac/skin/default/js/container.js	2010-09-01 14:20:15 UTC (rev 17420)
+++ branches/rel_2_0/Open-ILS/web/opac/skin/default/js/container.js	2010-09-01 15:00:19 UTC (rev 17421)
@@ -32,6 +32,7 @@
 
 function containerCreate( name, pub, callback, args ) {
 
+    fieldmapper.IDL.load(['cbreb']);
 	var container = new cbreb();
 	container.btype('bookbag');
 	container.owner( G.user.id() );
@@ -51,6 +52,7 @@
 
 function containerCreateItem( containerId, target, callback, args ) {
 
+    fieldmapper.IDL.load(['cbrebi']);
 	var item = new cbrebi();
 	item.target_biblio_record_entry(target);
 	item.bucket(containerId);

Modified: branches/rel_2_0/Open-ILS/web/opac/skin/default/js/holds.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/opac/skin/default/js/holds.js	2010-09-01 14:20:15 UTC (rev 17420)
+++ branches/rel_2_0/Open-ILS/web/opac/skin/default/js/holds.js	2010-09-01 15:00:19 UTC (rev 17421)
@@ -759,6 +759,7 @@
 		return;
 	}
 
+    fieldmapper.IDL.load(['ahr']);
 	var hold = new ahr();
 	if(holdArgs.editHold) {
 		hold = holdArgs.editHold;

Modified: branches/rel_2_0/Open-ILS/web/opac/skin/default/js/result_common.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/opac/skin/default/js/result_common.js	2010-09-01 14:20:15 UTC (rev 17420)
+++ branches/rel_2_0/Open-ILS/web/opac/skin/default/js/result_common.js	2010-09-01 15:00:19 UTC (rev 17421)
@@ -433,6 +433,7 @@
 		zero based position the record should have in the display table */
 function resultDisplayRecord(rec, pos, is_mr) {
 
+    fieldmapper.IDL.load(['mvr']);
 	if(rec == null) rec = new mvr(); /* so the page won't die if there was an error */
 	recordsHandled++;
 	recordsCache.push(rec);



More information about the open-ils-commits mailing list