To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 11009
11008  |  11010
Subject: 
Re: Runtime errors
Newsgroups: 
lugnet.admin.general
Date: 
Tue, 3 Jun 2003 22:39:12 GMT
Viewed: 
180 times
  
In lugnet.admin.general, David Eaton wrote:
Yeah, I've been getting a Javascript error after hitting the initial (and
only the initial) "Preview" button on the web interface. Let's see if I can
capture
it...

Line: 104
Char: 1
Error: 'document.FORM_POST.CMD_POST' is not an object
Code: 0
URL: http://news.lugnet.com/news/post/?lugnet.admin.general,11003

Cool, thanks for the data.

Looks like the CMD_POST object ('post' button I assume) just isn't defined,
and is being referenced several times.

Ya, it's the "Post" button.  It's not defined on the first screen.  I replaced
the onChange event with a call to a function to disarm the post button which
first checks whether the button exists in the form before attempting to disable
it.

Note for my browser,

which is?

it pops up with the error the 1st time I hit "Preview", and doesn't submit
the form. But the *2nd* time I hit "Preview" it goes through OK.

ok, makes sense.  Thanks.

Comes up other times too-- like when changing the 'Format' dropdown list...

yup, that has an onChange event too.

--Todd



Message is in Reply To:
  Re: Runtime errors
 
(...) Yeah, I've been getting a Javascript error after hitting the initial (and only the initial) "Preview" button on the web interface. Let's see if I can capture it... Line: 104 Char: 1 Error: 'document.FORM_POST.CMD_POST' is not an object Code: 0 (...) (21 years ago, 3-Jun-03, to lugnet.admin.general)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR