Andreas Wuest wrote:
On 7.6.2006 22:08 Uhr, Neil wrote:
Andreas Wuest wrote:
editorElem.setAttribute("onload", "event.stopPropagation()");
editorWindow = document.getElementById("uiEditorWindow");
editorWindow.appendChild(editorElem);
// set up
editorElem.makeEditable("text", false);
I suggest using at least one of the two opportunities that you have
to wait for it to load.
You mean waiting before I call makeEditable()
As I recall, makeEditable's second parameter is a wait flag, but you
would still have to defer the rest of the code. The other alternative is
to move the calls starting at makeEditable into the element's onload
handler.
--
Warning: May contain traces of nuts.
_______________________________________________
dev-tech-editor mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-editor