From ebb43983e930076419f35b51f93ec02e33dde37c Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 3 Apr 2009 19:14:11 +0000 Subject: [PATCH] sort item attribute editor templates alphabetically git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@12782 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index f1aaf29073..a9ed025d4c 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -183,7 +183,7 @@ g.retrieve_templates = function() { g.templates = robj['staff_client.copy_editor.templates']; } util.widgets.remove_children('template_placeholder'); - var list = util.functional.map_object_to_list( g.templates, function(obj,i) { return [i, i]; } ); + var list = util.functional.map_object_to_list( g.templates, function(obj,i) { return [i, i]; } ).sort(); g.template_menu = util.widgets.make_menulist( list ); g.template_menu.setAttribute('id','template_menu'); -- 2.11.0