|
@@ -89,7 +89,7 @@ var BasicFunction = new (function () {
|
|
|
|
|
|
this.get_server_url = function () {
|
|
this.get_server_url = function () {
|
|
// AJAX
|
|
// AJAX
|
|
- this.output = this.goajax({url: this.Queue.SVR_URL + BasicFunction.Queue.TEST_URL, timeout: 1000})
|
|
|
|
|
|
+ this.output = this.goajax({url: this.Queue.SVR_URL + this.Queue.TEST_URL, timeout: 1000})
|
|
.then(this.checkStatus)
|
|
.then(this.checkStatus)
|
|
.then(this.parseJson)
|
|
.then(this.parseJson)
|
|
.then(this.onReachServer)
|
|
.then(this.onReachServer)
|