This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JForum and the fly likes edit topic errors occurs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "edit topic errors occurs" Watch "edit topic errors occurs" New topic

edit topic errors occurs

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i use the firefox browser.
1.i add a new topic with an attachment is success. (an attachment and its Description is given)
and then i edit this topic,everything is ok.

i added an another topic with an attachment but its description haven't given.
added it OK.
but,errors occurs when i edit this below:

and the HTML source code is below:

[originally posted on by bacon88]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
A quick fix to allow for attachments without description would be to modify your attachments.js file at around line 58 to look like:

Alternatively, you could add some Javascript to the attachment form to force a description to be entered.
[originally posted on by monroe]
It is sorta covered in the JavaRanch Style Guide.
subject: edit topic errors occurs
Similar Threads
A problem after recompilation
Problems updating profile
submit a bug(login error)
dateTimeFormat error
Add a new page