On Sat, 15 Dec 2012 08:57:50 +0000, Philip TAYLOR wrote: > > > Philip Chee wrote: >> On Fri, 14 Dec 2012 13:47:34 +0000, Philip TAYLOR wrote: >>> The following code provokes a TypeError: "this.editor is null" >>> in Seamonkey 2.14.1 (User agent: Mozilla/5.0 (Windows NT 6.1; >>> rv:17.0) Gecko/20100101 Firefox/17.0 SeaMonkey/2.14.1; Build >>> identifier: 20121129191119) >>> >>> var features = >>> "menubar=no,location=no,resizable=yes,scrollbars=no,status=no,toolbar=no,width=480,height=320" >>> var name = "_feedback" >>> var location = 'SendMail.aspx?subject=' + window.location >>> window.open (location, name, features)} >> >> Why do you think this code should work? > > The code does work, Phil, but triggers the reported error in addition. > Is there something in the code that would lead you to believe that it > should not work ?
I see at least seven errors in the above code. Fortunately for you Javascript is quite forgiving. > Philip Taylor Phil -- Philip Chee <[email protected]>, <[email protected]> http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

