diff options
Diffstat (limited to 'share/www/script/jquery.dialog.js')
-rw-r--r-- | share/www/script/jquery.dialog.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/www/script/jquery.dialog.js b/share/www/script/jquery.dialog.js index 1fd3d572..199a1c51 100644 --- a/share/www/script/jquery.dialog.js +++ b/share/www/script/jquery.dialog.js @@ -75,6 +75,9 @@ $.each($("form :input", dialog).serializeArray(), function(i, field) { data[field.name] = field.value; }); + $("form :file", dialog).each(function() { + data[this.name] = this.value; // file inputs need special handling + }); options.submit(data, function callback(errors) { if (errors == null || errors == {}) { dismiss(); |