From 8c5c65d2c6532f4e5d059d6ae59507707b428010 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Tue, 13 Sep 2011 15:37:06 -0400 Subject: [PATCH] Provide a default value for, and explicitly change, the record type so the type dropdown works as intended Signed-off-by: Mike Rylander --- Open-ILS/xul/staff_client/server/cat/marcedit.js | 1 + Open-ILS/xul/staff_client/server/cat/marcedit.xul | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index 6a8680beeb..3547a8ea33 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -772,6 +772,7 @@ function toggleFFE () { function changeFFEditor (type) { var grid = document.getElementById('leaderGrid'); grid.setAttribute('type',type); + document.getElementById('recordTypeLabel').setAttribute('value',type); // Hide FFEditor rows that we don't need for our current type // If all of the labels for a given row do not include our diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.xul b/Open-ILS/xul/staff_client/server/cat/marcedit.xul index 3d28729cdd..7204883616 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.xul +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.xul @@ -59,7 +59,7 @@