Fix error when saving new position from PositionEditor
parent
b619321b12
commit
07319d4a5b
2
util.js
2
util.js
|
@ -162,7 +162,7 @@ var build_array_query = function(data, prefix)
|
|||
if (typeof data[i] == 'object')
|
||||
s += build_array_query(data[i], k);
|
||||
else
|
||||
s = s+'&'+k+'='+(data[i] === false || data[i] === null ? '' : encodeURIComponent(data[i]));
|
||||
s = s+'&'+k+'='+(data[i] === false || data[i] === null || data[i] === undefined ? '' : encodeURIComponent(data[i]));
|
||||
}
|
||||
return s;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue