git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d25d393
)
fix for $.fn.serialize bug (see mailinglist)
author
Gilles van den Hoven
<gilles0181@gmail.com>
Tue, 27 Jun 2006 20:56:51 +0000
(20:56 +0000)
committer
Gilles van den Hoven
<gilles0181@gmail.com>
Tue, 27 Jun 2006 20:56:51 +0000
(20:56 +0000)
form/form.js
patch
|
blob
|
history
diff --git
a/form/form.js
b/form/form.js
index
fb645bd
..
bec8870
100644
(file)
--- a/
form/form.js
+++ b/
form/form.js
@@
-197,7
+197,7
@@
$.fn.serialize = function() {
var p = par.nodeName.toUpperCase();
\r
if ((p == 'SELECT' || p == 'OPTGROUP') && !this.selected) return;
\r
\r
- var n = this.name || par.name;
\r
+ var n = this.name;
\r
if (!n && p == 'OPTGROUP' && (par = par.parentNode))
\r
n = par.name;
\r
\r