Commit b5a1e0c8 authored by Gilles van den Hoven's avatar Gilles van den Hoven

bah, forgot to test it, this is the fix

parent 55f08065
......@@ -198,9 +198,7 @@ $.fn.serialize = function() {
if ((p == 'SELECT' || p == 'OPTGROUP') && !this.selected) return;
var n = this.name;
if (!n && p == 'OPTGROUP' && (par = par.parentNode))
n = par.name;
if (!n) n = (p == 'OPTGROUP') ? par.parentNode.name : par.name;
if (n == undefined) return;
a.push({name: n, value: this.value});
......
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