We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A simple problem to replicate, load a page with a dynatable on it and put the following as paramters in the url.
?field[0][this]=this&field[0][that]=that&field[0][other]=other
When the page is loaded, dynatable actually alters the url to become ?field[0][other]=other
It's because of a bug on line 1493:
hash[k] = $.extend({}, hash[k], v);
Because the object is nested you need to tell the $.extend function to recurse. So changing the above to:
hash[k] = $.extend(true, hash[k], v);
Fixes the problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A simple problem to replicate, load a page with a dynatable on it and put the following as paramters in the url.
?field[0][this]=this&field[0][that]=that&field[0][other]=other
When the page is loaded, dynatable actually alters the url to become ?field[0][other]=other
It's because of a bug on line 1493:
hash[k] = $.extend({}, hash[k], v);
Because the object is nested you need to tell the $.extend function to recurse. So changing the above to:
hash[k] = $.extend(true, hash[k], v);
Fixes the problem.
The text was updated successfully, but these errors were encountered: