G-Srikanth / dragtable

Automatically exported from code.google.com/p/dragtable
0 stars 0 forks source link

dragtable does not work with IE8 #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open IE8
2. attempt to drag the table

it fails on this line:

new_elt.style[k] = elt.style[k];

Original issue reported on code.google.com by avm7...@gmail.com on 11 Jun 2009 at 2:12

GoogleCodeExporter commented 9 years ago
FYI- I fixed the issue. I changed fullCopy's foreach loop to the following:

forEach(    elt.style,
                function(value, key, object)
                {
                    if( value == null )
                        return;

                    if( typeof(value) == "string" && value.length == 0 )
                        return;

                    new_elt.style[key] = elt.style[key];
                }
            );

Original comment by avm7...@gmail.com on 11 Jun 2009 at 10:08

GoogleCodeExporter commented 9 years ago
worked for me, nice job

Original comment by maxstrue...@gmail.com on 30 Jun 2009 at 8:28

GoogleCodeExporter commented 9 years ago
Revision 15 incorporates this change. Thank you!

Original comment by danvdk on 30 Jun 2009 at 9:11