From: pines Date: Wed, 13 Dec 2006 15:31:20 +0000 (+0000) Subject: minor tweaks X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2f850e123f697d48e7a0cf303057359fd807d50b;p=evergreen%2Fpines.git minor tweaks git-svn-id: svn://svn.open-ils.org/ILS/trunk@6684 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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,