[open-ils-commits] r17419 - trunk/Open-ILS/web/opac/skin/default/js (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Sep 1 09:55:18 EDT 2010
Author: erickson
Date: 2010-09-01 09:55:16 -0400 (Wed, 01 Sep 2010)
New Revision: 17419
Modified:
trunk/Open-ILS/web/opac/skin/default/js/container.js
trunk/Open-ILS/web/opac/skin/default/js/holds.js
trunk/Open-ILS/web/opac/skin/default/js/result_common.js
Log:
added explicit IDL class loading for cbreb, cbrebi, mvr, and ahr
Modified: trunk/Open-ILS/web/opac/skin/default/js/container.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/container.js 2010-08-31 21:22:45 UTC (rev 17418)
+++ trunk/Open-ILS/web/opac/skin/default/js/container.js 2010-09-01 13:55:16 UTC (rev 17419)
@@ -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: trunk/Open-ILS/web/opac/skin/default/js/holds.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/holds.js 2010-08-31 21:22:45 UTC (rev 17418)
+++ trunk/Open-ILS/web/opac/skin/default/js/holds.js 2010-09-01 13:55:16 UTC (rev 17419)
@@ -759,6 +759,7 @@
return;
}
+ fieldmapper.IDL.load(['ahr']);
var hold = new ahr();
if(holdArgs.editHold) {
hold = holdArgs.editHold;
Modified: trunk/Open-ILS/web/opac/skin/default/js/result_common.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/result_common.js 2010-08-31 21:22:45 UTC (rev 17418)
+++ trunk/Open-ILS/web/opac/skin/default/js/result_common.js 2010-09-01 13:55:16 UTC (rev 17419)
@@ -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