Thread: [Codestriker-user] Javascript error while trying to add comment to topic
Brought to you by:
sits
|
From: Keith L. <the...@gm...> - 2005-08-03 21:49:45
|
I have been receiving the following javascript error when trying to add a comment under v1.9.0: =20 'top.add_comment_html is not a function' =20 =20 The box pops up but has no content. Also, this happens periodically, rather than all the time, and occurs from multiple areas (line # from topic, add comment link from comments tab, etc) Previously this was working fine in my browsers (IE and Firefox), but now I get this error from both of them.. =20 Have you seen this before and do you have any suggestions. =20 =20 Thanks, Keith Levy |
|
From: David S. <si...@us...> - 2005-08-04 05:37:22
|
On Thu, 4 Aug 2005 07:48, Keith Levy wrote: > I have been receiving the following javascript error when trying to > add a comment under v1.9.0: > > 'top.add_comment_html is not a function' > > The box pops up but has no content. Also, this happens periodically, > rather than all the time, and occurs from multiple areas (line # from > topic, add comment link from comments tab, etc) Previously this was > working fine in my browsers (IE and Firefox), but now I get this error > from both of them.. When you say previously it never happened - do you mean on a beta version of 1.9.0, or 1.8.5? Can you send me the raw HTML source as an attachment when you get the javascript error? This should help me locate the problem. -- Cheers, David |
|
From: Keith L. <the...@gm...> - 2005-08-04 10:26:28
|
On the final version of 1.9.0. =20 I just thought of something, I run the software through a custom portal that uses frames. Could that be an issue? Keith On 8/4/05, David Sitsky <si...@us...> wrote: > On Thu, 4 Aug 2005 07:48, Keith Levy wrote: > > I have been receiving the following javascript error when trying to > > add a comment under v1.9.0: > > > > 'top.add_comment_html is not a function' > > > > The box pops up but has no content. Also, this happens periodically, > > rather than all the time, and occurs from multiple areas (line # from > > topic, add comment link from comments tab, etc) Previously this was > > working fine in my browsers (IE and Firefox), but now I get this error > > from both of them.. >=20 > When you say previously it never happened - do you mean on a beta version > of 1.9.0, or 1.8.5? >=20 > Can you send me the raw HTML source as an attachment when you get the > javascript error? This should help me locate the problem. >=20 > -- > Cheers, > David >=20 > |
|
From: David S. <si...@us...> - 2005-08-04 23:30:18
|
Yes - embedding Codestriker within frames would definately stuff it up. The javascript is full of calls like top.XXX. To get this working correctly, we'd need to replace the top.XXX calls with the appropriate code for referring to the parent frame. You might be able to replace top. with parent. to get this working. I don't have time right now to look into this, but should have some next week. Cheers, David On Thu, 4 Aug 2005 20:25, Keith Levy wrote: > On the final version of 1.9.0. > > I just thought of something, I run the software through a custom > portal that uses frames. Could that be an issue? > > Keith > > On 8/4/05, David Sitsky <si...@us...> wrote: > > On Thu, 4 Aug 2005 07:48, Keith Levy wrote: > > > I have been receiving the following javascript error when trying to > > > add a comment under v1.9.0: > > > > > > 'top.add_comment_html is not a function' > > > > > > The box pops up but has no content. Also, this happens > > > periodically, rather than all the time, and occurs from multiple > > > areas (line # from topic, add comment link from comments tab, etc) > > > Previously this was working fine in my browsers (IE and Firefox), > > > but now I get this error from both of them.. > > > > When you say previously it never happened - do you mean on a beta > > version of 1.9.0, or 1.8.5? > > > > Can you send me the raw HTML source as an attachment when you get the > > javascript error? This should help me locate the problem. > > > > -- > > Cheers, > > David -- Cheers, David |
|
From: Keith L. <the...@gm...> - 2005-08-05 01:00:17
|
I'll try to take a stab at it over the next few days and see if I can't come up with something. A co-worker of mine had some ideas to try. If we work something out, we contribute it back for the next release. Thanks, On 8/4/05, David Sitsky <si...@us...> wrote: > Yes - embedding Codestriker within frames would definately stuff it up. >=20 > The javascript is full of calls like top.XXX. To get this working > correctly, we'd need to replace the top.XXX calls with the appropriate > code for referring to the parent frame. >=20 > You might be able to replace top. with parent. to get this working. >=20 > I don't have time right now to look into this, but should have some next > week. >=20 > Cheers, > David >=20 > On Thu, 4 Aug 2005 20:25, Keith Levy wrote: > > On the final version of 1.9.0. > > > > I just thought of something, I run the software through a custom > > portal that uses frames. Could that be an issue? > > > > Keith > > > > On 8/4/05, David Sitsky <si...@us...> wrote: > > > On Thu, 4 Aug 2005 07:48, Keith Levy wrote: > > > > I have been receiving the following javascript error when trying to > > > > add a comment under v1.9.0: > > > > > > > > 'top.add_comment_html is not a function' > > > > > > > > The box pops up but has no content. Also, this happens > > > > periodically, rather than all the time, and occurs from multiple > > > > areas (line # from topic, add comment link from comments tab, etc) > > > > Previously this was working fine in my browsers (IE and Firefox), > > > > but now I get this error from both of them.. > > > > > > When you say previously it never happened - do you mean on a beta > > > version of 1.9.0, or 1.8.5? > > > > > > Can you send me the raw HTML source as an attachment when you get the > > > javascript error? This should help me locate the problem. > > > > > > -- > > > Cheers, > > > David >=20 > -- > Cheers, > David >=20 > |
|
From: David S. <si...@us...> - 2005-08-05 01:03:50
|
That would be great - thanks. Hopefully it won't be too hard. It should be a matter for just searching for all top.XXX calls and replace them with the appropriate parent.XXX calls. On Fri, 5 Aug 2005 11:00, Keith Levy wrote: > I'll try to take a stab at it over the next few days and see if I > can't come up with something. A co-worker of mine had some ideas to > try. If we work something out, we contribute it back for the next > release. > > Thanks, -- Cheers, David |