Changeset 4944 in subversion


Ignore:
Timestamp:
Jul 20, 2011 9:04:23 AM (22 months ago)
Author:
alec
Message:

-Fix handling of backspace and del key on acl table when form is active

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/acl/acl.js

    r4943 r4944  
    152152        this.command('acl-edit'); 
    153153    else if (list.key_pressed == list.DELETE_KEY || list.key_pressed == list.BACKSPACE_KEY) 
    154         this.command('acl-delete'); 
     154        if (!this.acl_form || !this.acl_form.is(':visible')) 
     155            this.command('acl-delete'); 
    155156} 
    156157 
Note: See TracChangeset for help on using the changeset viewer.