From 8b882dce5abbcc32a99209c6e0ea8d64c517dcb6 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 27 Oct 2006 13:23:36 +0000 Subject: [PATCH] Removed the submit-on-enter code when creating new non-cat types. Allowing submit-on-enter bypasses the client-side perm checks, which can lead to ugly errors in the interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@6523 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/admin/non_cat_types.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/admin/non_cat_types.js b/Open-ILS/xul/staff_client/server/admin/non_cat_types.js index 4b82e5b25d..eb03281d2a 100644 --- a/Open-ILS/xul/staff_client/server/admin/non_cat_types.js +++ b/Open-ILS/xul/staff_client/server/admin/non_cat_types.js @@ -21,7 +21,6 @@ function ncBuildNew() { var name = $('nc_new_name'); name.focus(); - setEnterFunc(name, ncCreateNew ); var org = findOrgUnit(PERMS['CREATE_NON_CAT_TYPE']); var mydepth = findOrgDepth(org); -- 2.11.0