acq batch lineitem updater - fix circ mod and collection_code in acqdf i'face
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 25 Feb 2013 20:51:57 +0000 (15:51 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 8 Mar 2013 03:36:57 +0000 (22:36 -0500)
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/conify/global/acq/distribution_formula.tt2
Open-ILS/web/js/ui/default/conify/global/acq/distribution_formula.js

index 45d29ef..2132d9f 100644 (file)
@@ -63,7 +63,7 @@
                 <td><div name='owning_lib'></div></td>
                 <td><div name='location'></div></td>
                 <td><div name='fund'></div></td>
-                <td><div name='circ_modifer'></div></td>
+                <td><div name='circ_modifier'></div></td>
                 <td><div name='collection_code'></div></td>
                 <td><div name='item_count'></div></td>
                 <td>
index dee35e0..d20c81e 100644 (file)
@@ -159,6 +159,11 @@ function addEntry(entry) {
                 dijitArgs : (field == 'item_count') ? {min:1, places:0} : null
             }).build(
                 function(w, ww) {
+                    /* kludge for glitchy textbox */
+                    if (field == "collection_code") {
+                        w.focus();
+                        byName(row, "owning_lib").focus();
+                    }
                     dojo.connect(w, 'onChange', 
                         function(newVal) {
                             entry[field]( newVal );