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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-01-22 05:46:42 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:265
apps: "serve" app now requires authentication like all other apps.
    (Because the "public viewing" functionality has been moved into the other
    subdomain).
consoleservice: Now demands a path: either "start" or "chat" (can't be
    nothing). "chat" functionality TBI.
console: Passes "start" as a path to consoleservice (or it would no longer
    work).

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 */
7
7
function start_server()
8
8
{
9
 
    var xhr = ajax_call("consoleservice", "", "", "POST");
 
9
    var xhr = ajax_call("consoleservice", "start", "", "POST");
10
10
    var json_text = xhr.responseText;
11
11
    return JSON.parse(json_text);
12
12
}