From: erickson Date: Wed, 1 Sep 2010 13:55:16 +0000 (+0000) Subject: added explicit IDL class loading for cbreb, cbrebi, mvr, and ahr X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1aa57e8ec906e30ada2c0440e55238d0547c0bd8;p=evergreen%2Fbjwebb.git added explicit IDL class loading for cbreb, cbrebi, mvr, and ahr git-svn-id: svn://svn.open-ils.org/ILS/trunk@17419 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/default/js/container.js b/Open-ILS/web/opac/skin/default/js/container.js index c89866364..c8f10281c 100644 --- a/Open-ILS/web/opac/skin/default/js/container.js +++ b/Open-ILS/web/opac/skin/default/js/container.js @@ -32,6 +32,7 @@ function containerDelete( id, callback, args ) { 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 containerUpdate( container, callback, args ) { function containerCreateItem( containerId, target, callback, args ) { + fieldmapper.IDL.load(['cbrebi']); var item = new cbrebi(); item.target_biblio_record_entry(target); item.bucket(containerId); diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js index 43fa86ba2..a5a06e98e 100644 --- a/Open-ILS/web/opac/skin/default/js/holds.js +++ b/Open-ILS/web/opac/skin/default/js/holds.js @@ -759,6 +759,7 @@ function holdsBuildHoldFromWindow() { return; } + fieldmapper.IDL.load(['ahr']); var hold = new ahr(); if(holdArgs.editHold) { hold = holdArgs.editHold; diff --git a/Open-ILS/web/opac/skin/default/js/result_common.js b/Open-ILS/web/opac/skin/default/js/result_common.js index 45ccb0852..234c4dc26 100644 --- a/Open-ILS/web/opac/skin/default/js/result_common.js +++ b/Open-ILS/web/opac/skin/default/js/result_common.js @@ -433,6 +433,7 @@ function unhideGoogleBooksLink (data) { 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);