File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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]
I agree. Here's the link:
subject: edit topic errors occurs
It's not a secret anymore!