qasta / gwt-html-editor

Automatically exported from code.google.com/p/gwt-html-editor
0 stars 1 forks source link

Strange behavior when initialized while not being atached to the DOM #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Just add the Editor instance to a tab which is not currently shown.

What is the expected output? What do you see instead?
It throws an error in JSNI code.

Original issue reported on code.google.com by pave...@gmail.com on 11 Dec 2006 at 8:39

GoogleCodeExporter commented 9 years ago
Fixed (revision 5).
Problem because of following code used for getting into the IFrame:
  var frameName = frame.@com.google.gwt.user.client.ui.NamedFrame::getName()();
  var oIframe = $wnd.document.getElementsByName(frameName)[0];

Changed the interface, now all methods accept "Element oIframe" directly 
instead of
"NamedFrame frame".

Original comment by pave...@gmail.com on 11 Dec 2006 at 8:47

GoogleCodeExporter commented 9 years ago
More related commits: revision 6, 7
Some bugs found during QA. 
Outstanding issue: doesn't work in hosted mode.

Original comment by pave...@gmail.com on 11 Dec 2006 at 10:41

GoogleCodeExporter commented 9 years ago

Original comment by pave...@gmail.com on 11 Dec 2006 at 10:51

GoogleCodeExporter commented 9 years ago
fixed as of 0.1.1

Original comment by pave...@gmail.com on 19 Dec 2006 at 10:07

GoogleCodeExporter commented 9 years ago
as of 0.1.2

Original comment by pave...@gmail.com on 5 Jan 2007 at 9:43