From 2f850e123f697d48e7a0cf303057359fd807d50b Mon Sep 17 00:00:00 2001 From: pines Date: Wed, 13 Dec 2006 15:31:20 +0000 Subject: [PATCH] minor tweaks git-svn-id: svn://svn.open-ils.org/ILS/trunk@6684 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/marc_new.xul | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/marc_new.xul b/Open-ILS/xul/staff_client/server/cat/marc_new.xul index aac9f0f704..543563deb1 100644 --- a/Open-ILS/xul/staff_client/server/cat/marc_new.xul +++ b/Open-ILS/xul/staff_client/server/cat/marc_new.xul @@ -56,7 +56,7 @@ if (typeof templates.ilsevent != 'undefined') throw(templates); var ml = util.widgets.make_menulist( util.functional.map_list( - templates, + templates.sort(), function(el) { return [ el /* The menu entry label */, el /* The menu entry value */ ]; } @@ -121,6 +121,8 @@ /* hide template widgets */ $('actions').hidden = true; + window.xulG.set_tab_name(template_name); + } catch(E) { g.error.standard_unexpected_error_alert( 'Error loading MARC template: ' + template_name, -- 2.11.0