WISE-Community / WISE-VLE--Deprecated--

Virtual Learning Environment (VLE) for the Web-based Inquiry Science Environment (WISE). *Note: deprecated and has been merged into the main 'WISE' repository*
8 stars 8 forks source link

Backspace #300

Open jonvitale opened 11 years ago

jonvitale commented 11 years ago

Can we override backspace default functionality. In the graphing items sometimes students try to press backspace to remove a point, but something else happens (e.g. going to previously loaded page).

hirokiterashima commented 11 years ago

Is this on PC? I couldn't reproduce on my mac. Deleting a point worked properly after selecting it and hitting "Delete"

jonvitale commented 11 years ago

"Backspace" not delete. And yes, PC.

On Wed, Oct 9, 2013 at 2:44 PM, Hiroki Terashima notifications@github.comwrote:

Is this on PC? I couldn't reproduce on my mac. Deleting a point worked properly after selecting it and hitting "Delete"

— Reply to this email directly or view it on GitHubhttps://github.com/WISE-Community/WISE-VLE/issues/300#issuecomment-26011660 .

breity commented 11 years ago

Yeah, this is a problem where the backspace key is mapped to the "back" action of the browser in some operating systems. We can probably put a check in on the keystroke (using a jQuery event namespace to prevent the action from being overwritten somewhere else) and "preventDefault".

On Wed, Oct 9, 2013 at 2:44 PM, Hiroki Terashima notifications@github.comwrote:

Is this on PC? I couldn't reproduce on my mac. Deleting a point worked properly after selecting it and hitting "Delete"

— Reply to this email directly or view it on GitHubhttps://github.com/WISE-Community/WISE-VLE/issues/300#issuecomment-26011660 .

Jonathan Lim-Breitbart Feature Developer and Lead Designer Web-based Integrated Science Environment (WISE) http://wise.berkeley.edu