~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-10 10:32:25 UTC
  • Revision ID: grantw@unimelb.edu.au-20090810103225-grv8e43bb1gnj95x
Unbreak console history retrieval in IE/WebKit.

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
}