Minor fixes and polyfills

This commit is contained in:
Mark McDowall 2013-09-11 14:38:35 -07:00
parent 89a72a50cf
commit feda4a9b67
7 changed files with 44 additions and 43 deletions

View file

@ -11,7 +11,7 @@ define(function () {
//check if ajax call was made with data option
if (xhr && xhr.data && xhr.type === 'DELETE') {
if (xhr.url.indexOf('?') === -1) {
if (!xhr.url.contains('?')) {
xhr.url = xhr.url + '?' + $.param(xhr.data);
}
else {