Skip to content

Commit

Permalink
fixes #1689 no more shuffle after group add
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Leproux committed Jul 11, 2022
1 parent 429dc78 commit a704435
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions admin/themes/default/js/group_list.js
Expand Up @@ -93,12 +93,11 @@ jQuery(document).ready(function () {
success: function (raw_data) {
loadState.reverse();
data = jQuery.parseJSON(raw_data);
console.log(data);
if (data.stat === "ok") {
$(".addGroupFormLabelAndInput input").val('');
group = data.result.groups[0];
groupBox = createGroup(group)
groupBox.prependTo(".groups")
groupBox = createGroup(group);
$("#addGroupForm").after(groupBox);
setupGroupBox(groupBox);
updateBadge();
} else {
Expand Down

0 comments on commit a704435

Please sign in to comment.