~333christophe/crocket/trunk

« back to all changes in this revision

Viewing changes to chrome/content/crocket/Harbor.js

  • Committer: 333christophe@gmail.com
  • Date: 2010-04-25 09:57:40 UTC
  • Revision ID: 333christophe@gmail.com-20100425095740-lz3y52x6x3e26c7b
CommandLineHandler, added demo files

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
                },
95
95
                
96
96
                //XMLHttp response
97
 
                onLoad : function (request) {
98
 
                        var responseObject = JSON.parse(request.responseText);
 
97
                onLoad : function (responseObject) {
99
98
                        if (responseObject.vortex_port && responseObject.vortex_host) {
100
99
                                thisCrocket.crocketService.changeVortex(responseObject.vortex_host,responseObject.vortex_port);
101
100
                        }