Skip to content

Commit

Permalink
Merge pull request #142 from Ciki/patch-1
Browse files Browse the repository at this point in the history
Client-side: Attach `ui` & `event` arguments to ajax requests
  • Loading branch information
o5 committed Jun 25, 2014
2 parents bad5152 + 4a70dd1 commit 30063eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client-side/grido.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@
};

if (hasConfirm && confirm(hasConfirm)) {
isAjax && (that.ajax.doRequest(this.href) || stop(event));
isAjax && (that.ajax.doRequest(this.href, this, event) || stop(event));

} else if (hasConfirm) {
stop(event);

} else if (isAjax) {
that.ajax.doRequest(this.href) || stop(event);
that.ajax.doRequest(this.href, this, event) || stop(event);
}
});
},
Expand Down

0 comments on commit 30063eb

Please sign in to comment.