Skip to content

Commit c4277d8

Browse files
committed
fix(section): rename section impacts display of inner questions
1 parent a07dddd commit c4277d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ var plugin_formcreator = new function() {
10431043
displayAjaxMessageAfterRedirect();
10441044
}).done(function (data) {
10451045
var section = $('.plugin_formcreator_form_design[data-itemtype="PluginFormcreatorForm"] [data-itemtype="PluginFormcreatorSection"][data-id="' + sectionId + '"]');
1046-
section.find('[data-field="name"]').replaceWith(data['name']);
1046+
section.find(' > [data-field="name"]').replaceWith(data['name']);
10471047
that.resetTabs();
10481048
}).complete(function () {
10491049
var myModal = form.closest('div.modal');

0 commit comments

Comments
 (0)