Commit 21733597 authored by JC Brand's avatar JC Brand

Set dataType JSON of ajax request of `prebind_url`

parent e461b22f
...@@ -1615,6 +1615,7 @@ ...@@ -1615,6 +1615,7 @@
$.ajax({ $.ajax({
url: this.prebind_url, url: this.prebind_url,
type: 'GET', type: 'GET',
dataType: "json",
success: function (response) { success: function (response) {
this.connection.attach( this.connection.attach(
response.jid, response.jid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment