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

« back to all changes in this revision

Viewing changes to www/media/console/console_app.js

  • Committer: mattgiuca
  • Date: 2008-02-01 01:39:24 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:362
console: Automatically focus input box when starting console app, or when
maximizing console pane. Fixed bug where JS errors occur when there is no
console present (now ignores).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
function onload()
2
2
{
3
3
    console_init();
 
4
    /* Focus the input box by default */
 
5
    document.getElementById("console_inputText").focus()
4
6
}