Mercurial > hg > webaudioevaluationtool
changeset 1459:69500298bb14
Feature #1302. Enter key in text-area creates new-line. Enter otherwise progresses the pre/post survey
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 23 Nov 2015 11:08:58 +0000 |
parents | 562e5fe33c0b |
children | 1b81ab727352 |
files | core.js |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/core.js Mon Nov 23 10:47:02 2015 +0000 +++ b/core.js Mon Nov 23 11:08:58 2015 +0000 @@ -190,12 +190,6 @@ textArea.rows = "10"; break; } - document.onkeydown=function(){ - if(window.event.keyCode=='13'){ // when you hit enter - window.event.preventDefault(); // don't make newline - popup.proceedClicked(); // go to the next window (or start the test or submit) - } - } this.popupResponse.appendChild(textArea); textArea.focus(); } else if (node.type == 'checkbox') {