8 Replies Latest reply on Apr 1, 2011 5:08 AM by Thomas Buckley

    Backspace Hotkey not disabling in Richfaces Modal

    Thomas Buckley Newbie

      Hi

      I have added the following to my pages (to prevent users been able to use the backspace function throughout the site):

      <rich:hotKey key="backspace" handler="return false;" disableInInput="true" />

      It works fine on the page that generates the popup modal, but when the modal is shown the hotkey will not work on the modal screen:

      <rich:modalPanel id="mpTest" minWidth="325" minHeight="225" zindex="2000">
      .....
      </rich:modalPanel>

      Do I need to do something differently for a modal screen?