Removed the submit-on-enter code when creating new non-cat types. Allowing
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 27 Oct 2006 13:23:36 +0000 (13:23 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 27 Oct 2006 13:23:36 +0000 (13:23 +0000)
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

index 4b82e5b..eb03281 100644 (file)
@@ -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);