Skip to content

Commit

Permalink
Bummer. Had to remove the public xhr object because it requires a syn…
Browse files Browse the repository at this point in the history
…chronous ajax request. Oh well...
  • Loading branch information
Jonathan Stark committed Jan 20, 2011
1 parent 4b3f8a0 commit 981c857
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions jqtouch/jqtouch.js
Expand Up @@ -46,7 +46,6 @@
extensions=$.jQTouch.prototype.extensions,
animations=[],
hairExtensions='',
xhr=false,
defaults = {
addGlossToIcon: true,
backSelector: '.back, .cancel, .goback',
Expand Down Expand Up @@ -446,7 +445,7 @@
var settings = $.extend({}, defaults, options);

if (href != '#') {
xhr = $.ajax({
$.ajax({
url: href,
data: settings.data,
type: settings.method,
Expand Down Expand Up @@ -910,8 +909,7 @@
goBack: goBack,
goTo: goTo,
addAnimation: addAnimation,
submitForm: submitHandler,
xhr: xhr
submitForm: submitHandler
}
return publicObj;
}
Expand Down

0 comments on commit 981c857

Please sign in to comment.