Explorar o código

Set dataType JSON of ajax request of `prebind_url`

JC Brand %!s(int64=9) %!d(string=hai) anos
pai
achega
2173359718
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/converse-core.js

+ 1 - 0
src/converse-core.js

@@ -1615,6 +1615,7 @@
             $.ajax({
                 url:  this.prebind_url,
                 type: 'GET',
+                dataType: "json",
                 success: function (response) {
                     this.connection.attach(
                             response.jid,