We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 691d8f9 commit ad87ddcCopy full SHA for ad87ddc
js/scripts.js
@@ -683,6 +683,7 @@ var plugin_formcreator = new function() {
683
if (typeof(id) === 'undefined') {
684
return;
685
}
686
+ var that = this;
687
if (confirm(i18n.textdomain('formcreator').__('Are you sure you want to delete this question?', 'formcreator'))) {
688
jQuery.ajax({
689
url: formcreatorRootDoc + '/ajax/question_delete.php',
@@ -697,6 +698,7 @@ var plugin_formcreator = new function() {
697
698
var gridstack = container.gridstack;
699
var row = $(item).attr('data-gs-y');
700
gridstack.removeWidget(item);
701
+ that.resetTabs();
702
});
703
704
};
0 commit comments