mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Merge pull request #504 from EmmanuelVella/patch-2
Replace incorrect jQuery.size() method
This commit is contained in:
commit
8fe99a9c45
@ -262,7 +262,7 @@
|
||||
};
|
||||
|
||||
var displayFinalUrl = function(xhr, method, url, data, container) {
|
||||
if ('GET' == method && jQuery(data).size()) {
|
||||
if ('GET' == method && !jQuery.isEmptyObject(data)) {
|
||||
var separator = url.indexOf('?') >= 0 ? '&' : '?';
|
||||
url = url + separator + decodeURIComponent(jQuery.param(data));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user