We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a0c11 commit 2256bb0Copy full SHA for 2256bb0
adminsortable2/static/adminsortable2/js/inline-stacked.js
@@ -2,7 +2,7 @@ django.jQuery(function($) {
2
$("script.inline-stacked-config").each(function (i, config_element) {
3
try {
4
var config = JSON.parse(config_element.textContent);
5
- $("#" + config["prefix"] + "-group .inline-related").stackedFormset(config);
+ $("#" + config["prefix"] + "-group .inline-related").stackedFormset($('this').selector, config);
6
}
7
catch (parse_error) {
8
console.error("Configuration for a django-adminsortable2 inline-stacked form is invalid.");
0 commit comments