fixed error with FormData constructor

parent b1d5a356
......@@ -198,7 +198,7 @@ ETYPOS.prototype = {
/*Создание формы с данными*/
formData: function() {
if (!FormData()) {
if (! new FormData()) {
throw new Error("FormData() не поддерживается");
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment