3.2.1
This commit is contained in:
parent
8083afab0c
commit
0b4581efba
54 changed files with 3649 additions and 2357 deletions
|
@ -4,7 +4,7 @@ function updateChatMessages() {
|
|||
updater = $.periodic({ period: 1000, decay: 1.5, max_period: 1800000 }, function () {
|
||||
$.ajax({
|
||||
periodic: this,
|
||||
url: baseURL + '/getChatMessages.view?u=' + username + '&p=' + password + '&v=' + version + '&c=' + applicationName + '&f=json&since=' + starttime,
|
||||
url: baseURL + '/getChatMessages.view?u=' + username + '&p=' + password + '&v=' + apiVersion + '&c=' + applicationName + '&f=json&since=' + starttime,
|
||||
method: 'GET',
|
||||
dataType: 'json',
|
||||
timeout: 10000,
|
||||
|
@ -52,7 +52,7 @@ function addChatMessage(msg) {
|
|||
url: baseURL + '/addChatMessage.view?u=' + username + '&p=' + password,
|
||||
dataType: 'json',
|
||||
timeout: 10000,
|
||||
data: { v: version, c: applicationName, f: "json", message: msg },
|
||||
data: { v: apiVersion, c: applicationName, f: "json", message: msg },
|
||||
success: function () {
|
||||
updater.reset();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue