From ce031267e178f60c32c0e35f3c5f7abd8d550a49 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Wed, 29 Jun 2011 11:01:55 -0400 Subject: [PATCH] Duh! How long it can take to find the simplest bugs. a fieldmapper "at" object has a control_set() method, not a controlSet() method. Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/web/js/dojo/openils/AuthorityControlSet.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js b/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js index 1de80d105f..3583d66d3b 100644 --- a/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js +++ b/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js @@ -196,9 +196,7 @@ if(!dojo._hasResource["openils.AuthorityControlSet"]) { function (at) { return at.code() == x } )[0]; - console.log("thes is " + thes); - console.log("thes.controlSet() returns " + thes.controlSet()); - return this.controlSet(thes.controlSet()); + return this.controlSet(thes.control_set()); }, bibFieldByTag: function (x) { -- 2.11.0