Duh! How long it can take to find the simplest bugs.
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 29 Jun 2011 15:01:55 +0000 (11:01 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 29 Jun 2011 15:01:55 +0000 (11:01 -0400)
a fieldmapper "at" object has a control_set() method, not a controlSet()
method.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/web/js/dojo/openils/AuthorityControlSet.js

index 1de80d1..3583d66 100644 (file)
@@ -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) {