~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/console/media/console.js

  • Committer: William Grant
  • Date: 2009-08-12 04:30:38 UTC
  • Revision ID: grantw@unimelb.edu.au-20090812043038-pil4b76apx9rw86x
Allow tutors to add exercises.

Show diffs side-by-side

added added

removed removed

Lines of Context:
440
440
    case 38:                /* Up arrow */
441
441
        hist.up(inp.value);
442
442
        inp.value = hist.curr();
 
443
        /* Inhibit further responses to this event, or WebKit moves the
 
444
         * cursor to the start. */
 
445
        return false;
443
446
        break;
444
447
    case 40:                /* Down arrow */
445
448
        hist.down(inp.value);
446
449
        inp.value = hist.curr();
 
450
        return false;
447
451
        break;
448
452
    }
449
453
}