We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a07dddd commit c4277d8Copy full SHA for c4277d8
js/scripts.js
@@ -1043,7 +1043,7 @@ var plugin_formcreator = new function() {
1043
displayAjaxMessageAfterRedirect();
1044
}).done(function (data) {
1045
var section = $('.plugin_formcreator_form_design[data-itemtype="PluginFormcreatorForm"] [data-itemtype="PluginFormcreatorSection"][data-id="' + sectionId + '"]');
1046
- section.find('[data-field="name"]').replaceWith(data['name']);
+ section.find(' > [data-field="name"]').replaceWith(data['name']);
1047
that.resetTabs();
1048
}).complete(function () {
1049
var myModal = form.closest('div.modal');
0 commit comments