Skip to content

Commit

Permalink
fix(section): rename section impacts display of inner questions
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jul 5, 2023
1 parent a07dddd commit c4277d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ var plugin_formcreator = new function() {
displayAjaxMessageAfterRedirect();
}).done(function (data) {
var section = $('.plugin_formcreator_form_design[data-itemtype="PluginFormcreatorForm"] [data-itemtype="PluginFormcreatorSection"][data-id="' + sectionId + '"]');
section.find('[data-field="name"]').replaceWith(data['name']);
section.find(' > [data-field="name"]').replaceWith(data['name']);
that.resetTabs();
}).complete(function () {
var myModal = form.closest('div.modal');
Expand Down

0 comments on commit c4277d8

Please sign in to comment.