Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed blank url test for jquery 1.6.2

  • Loading branch information...
commit ee275d15342c41f9088137829b1a9b9c0cf304be 1 parent 7ed9203
@JangoSteve JangoSteve authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/public/test/call-remote.js
View
2  test/public/test/call-remote.js
@@ -98,7 +98,7 @@ asyncTest('allow empty form "action"', 1, function() {
}
// Actual location (strip out settings.data that jQuery serializes and appends)
- ajaxLocation = settings.url.replace(settings.data,"").replace(/&$/, "");
+ ajaxLocation = settings.url.replace(settings.data,"").replace(/&$/, "").replace(/\?$/, "");
equal(ajaxLocation.match(/^(.*)/)[1], currentLocation, 'URL should be current page by default');
// Prevent the request from actually getting sent to the current page and
Please sign in to comment.
Something went wrong with that request. Please try again.