Skip to content

Commit

Permalink
tuupola#69 Add callback function to remove chained.
Browse files Browse the repository at this point in the history
  • Loading branch information
hkirsman committed Jan 27, 2020
1 parent 9485fc2 commit 4e3f96c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jquery.chained.remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
build.call(self, json);
/* Force updating the children. */
$(self).trigger("change");
settings.callback(self);
});
});

Expand Down Expand Up @@ -153,6 +154,7 @@
bootstrap: null,
loading: null,
clear: false,
callback: function() {},
data: function(json) { return json; }
};

Expand Down

0 comments on commit 4e3f96c

Please sign in to comment.