Skip to content

Commit cdf5827

Browse files
committed
Merge pull request #4 from AleksandrIvin/issue_3_bugfix
Issue #3 form.submit(); does not work in Firefox
2 parents 5df7f34 + 4a9dbf2 commit cdf5827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Widget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ protected function renderElements($template)
232232
$.each(ids, function(index, id) {
233233
form.append('<input type=\"hidden\" name=\"ids[]\" value=' + id + ' />');
234234
});
235-
form.submit();
235+
form.appendTo('body').submit();
236236
}
237237
}
238238
});");

0 commit comments

Comments
 (0)