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 b4d0b93 commit ccdf7eaCopy full SHA for ccdf7ea
openwisp_controller/config/static/config/js/widget.js
@@ -488,8 +488,8 @@
488
getDefaultValues(true);
489
});
490
}
491
- $(".sortedm2m-items").on("change", function (event) {
492
- getDefaultValues(event.updateInitialValue === true);
+ $(".sortedm2m-items").on("change", function (event, data) {
+ getDefaultValues(data && data.updateInitialValue === true);
493
494
$(".sortedm2m-items").on("sortstop", function () {
495
getDefaultValues();
0 commit comments