Skip to content

Commit

Permalink
Fixed issue with returning ajax request.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Jun 30, 2011
1 parent b1d9d92 commit f7ecdae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Kudu.Web/Scripts/signalR.js
Expand Up @@ -68,9 +68,8 @@
} }


var args = $.makeArray([that]).concat($.makeArray(arguments)); var args = $.makeArray([that]).concat($.makeArray(arguments));
transport.send.apply(transport, args);


return that; return transport.send.apply(transport, args);
}, },


sending: function (callback) { sending: function (callback) {
Expand Down Expand Up @@ -135,7 +134,7 @@
/// <param name="connection" type="signalR">The signalR connection to send data over</param> /// <param name="connection" type="signalR">The signalR connection to send data over</param>
/// <param name="data" type="String">The data to send</param> /// <param name="data" type="String">The data to send</param>
/// <param name="callback" type="Function">A callback to be invoked when the send has completed</param> /// <param name="callback" type="Function">A callback to be invoked when the send has completed</param>
$.ajax(connection.url + '/send', { return $.ajax(connection.url + '/send', {
type: "POST", type: "POST",
data: { data: data, transport: "longPolling" }, data: { data: data, transport: "longPolling" },
dataType: "json", dataType: "json",
Expand Down

0 comments on commit f7ecdae

Please sign in to comment.