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

« back to all changes in this revision

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

ivle.webapp.base.views#JSONRESTView: Check that methods are available before
    trying to execute them. Also raise a legal MethodNotAllowed with an
    'allowed' attribute indicating permitted methods
ivle.webapp.errors: Alter constructor to take mandatory 'allowed' argument.

Show diffs side-by-side

added added

removed removed

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