Minor fixes

This commit is contained in:
Flavio Copes
2015-11-04 14:43:25 +01:00
parent cb8643b178
commit 37cf4d8092
2 changed files with 6 additions and 5 deletions

View File

@@ -320,7 +320,8 @@
if (!ajax) {
var form = $('<form>').attr({ method: method, action: action });
for (var name in values) { if (values.hasOwnProperty(name)) {
for (var name in values) {
if (values.hasOwnProperty(name)) {
$('<input>').attr({ type: 'hidden', name: name, value: values[name] }).appendTo(form);
}
}