From 1aa57e8ec906e30ada2c0440e55238d0547c0bd8 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 1 Sep 2010 13:55:16 +0000 Subject: [PATCH] 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 --- Open-ILS/web/opac/skin/default/js/container.js | 2 ++ Open-ILS/web/opac/skin/default/js/holds.js | 1 + Open-ILS/web/opac/skin/default/js/result_common.js | 1 + 3 files changed, 4 insertions(+) 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); -- 2.11.0