This commit is contained in:
Ozzieisaacs
2019-03-05 21:28:55 +01:00
parent 466af21548
commit 6f0b3bbda0
4 changed files with 67 additions and 32 deletions

View File

@ -170,7 +170,7 @@
replaceForm: function(html) {
var newForm;
var formId = this.$form.attr("id");
if ( typeof(formId) !== "undefined") {
if ( typeof formId !== "undefined") {
newForm = $(html).find("#" + formId);
} else {
newForm = $(html).find("form");