Closed GoogleCodeExporter closed 8 years ago
Here is a simple patch to correct this behaviour
Original comment by jonathan...@gmail.com
on 26 Nov 2009 at 10:49
Attachments:
I have verified that this simple patch would replicate the behavior of firefox.
I
think it should be applied.
Original comment by grick23@gmail.com
on 28 Nov 2009 at 10:26
Original comment by bradneub...@gmail.com
on 29 Nov 2009 at 6:42
Nice patch; one small change to make it match how we format our JavaScript (we
always
add {} even for one line if statements to protect against copy/paste bugs from
patches); I would also use === instead of == when dealing with null:
if (attrValue === null || typeof attrValue == 'undefined') {
attrValue = '';
}
We really should make a JS and AS style guide to help contributors...
Original comment by bradneub...@gmail.com
on 29 Nov 2009 at 6:44
Original comment by bradneub...@gmail.com
on 29 Nov 2009 at 6:47
Original comment by bradneub...@gmail.com
on 29 Nov 2009 at 6:48
This issue was closed by revision r1012.
Original comment by bradneub...@gmail.com
on 29 Nov 2009 at 6:49
Patch applied; thanks!
Original comment by bradneub...@gmail.com
on 29 Nov 2009 at 6:49
Original issue reported on code.google.com by
jonathan...@gmail.com
on 25 Nov 2009 at 1:28Attachments: