jfweemaes / ubiquity-xforms

Automatically exported from code.google.com/p/ubiquity-xforms
0 stars 0 forks source link

onDocumentReady handlers called twice #529

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The onDocumentReady handlers are called twice on loading a form in Firefox.  
For obvious performance reasons this should not be done.

Original issue reported on code.google.com by bryan.kyle on 21 Sep 2009 at 4:44

GoogleCodeExporter commented 8 years ago

Original comment by mark.bir...@gtempaccount.com on 22 Sep 2009 at 1:33

GoogleCodeExporter commented 8 years ago
In addition to the performance issues, initializing the model twice has caused 
other 
problems such as repeats having no template information (issue 528).  A work 
around for 
this particular issue was committed with r2990.

Original comment by bryan.kyle on 22 Sep 2009 at 5:35

GoogleCodeExporter commented 8 years ago
Also see r2991

Original comment by bryan.kyle on 22 Sep 2009 at 5:41

GoogleCodeExporter commented 8 years ago

Original comment by bryan.kyle on 30 Sep 2009 at 7:31

GoogleCodeExporter commented 8 years ago
I believe I've fixed this issue locally. Adding a comment starring this issue 
and to 
try and remind myself to verify this properly when I come to commit.

Original comment by phil.boo...@gtempaccount.com on 12 Nov 2009 at 4:20

GoogleCodeExporter commented 8 years ago
I've now come back to this issue as per the previous comment and, it turns out, 
I can't 
reproduce the problem anyway. Using the current trunk, I only see 
onDocumentReady() get 
hit once per element.

Original comment by phil.boo...@gtempaccount.com on 16 Nov 2009 at 1:48